diff options
-rw-r--r-- | pelican-bootstrap3/README.md | 4 | ||||
-rw-r--r-- | pelican-bootstrap3/templates/base.html | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/pelican-bootstrap3/README.md b/pelican-bootstrap3/README.md index 02a130a..d8d49d7 100644 --- a/pelican-bootstrap3/README.md +++ b/pelican-bootstrap3/README.md @@ -351,6 +351,10 @@ All you have to do, is: By default, the Tipue search page is configured at "/search.html", but you can override that with the `SEARCH_URL` setting, which comes in handy if you have fancy rewrite rules in your Apache or Nginx configuration. +### Flattr + +This theme has support for linking your domain with [Flattr](https://flattr.com). To enable this provide your `FLATTR_ID`. Be aware that you will also have to go [Flattr's domain settings](https://flattr.com/settings/domains) and link your domain. + ### Footer The footer will display a copyright message using the AUTHOR variable and the year of the latest post. If a content license mark is enabled (see above), that will be shown as well. diff --git a/pelican-bootstrap3/templates/base.html b/pelican-bootstrap3/templates/base.html index 195934b..9a69baf 100644 --- a/pelican-bootstrap3/templates/base.html +++ b/pelican-bootstrap3/templates/base.html @@ -53,6 +53,11 @@ {# Twitter Cards tags #} {% include 'includes/twitter_cards.html' %} + {# Flattr ID for the Flattr browser plug-in #} + {% if FLATTR_ID %} + <meta name="flattr:id" content="m1qj28"> + {% endif %} + <!-- Bootstrap --> {% if BOOTSTRAP_THEME %} <link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/bootstrap.{{ BOOTSTRAP_THEME }}.min.css" type="text/css"/> |