diff --git a/docs/settings.rst b/docs/settings.rst index 355716e9..9c596da3 100644 --- a/docs/settings.rst +++ b/docs/settings.rst @@ -208,6 +208,12 @@ Setting name what does it do ? `GITHUB_URL` Your github URL (if you have one), it will then use it to create a github ribbon. `GOOGLE_ANALYTICS` 'UA-XXXX-YYYY' to activate google analytics. +`PIWIK_URL` URL to your Piwik server - without 'http://' at the + beginning. +`PIWIK_SSL_URL` If the SSL-URL differs from the normal Piwik-URL + you have to include this setting too. (optional) +`PIWIK_SITE_ID` ID for the monitored website. You can find the ID + in the Piwik admin interface > settings > websites. `LINKS` A list of tuples (Title, Url) for links to appear on the header. `SOCIAL` A list of tuples (Title, Url) to appear in the "social" diff --git a/pelican/themes/notmyidea/templates/base.html b/pelican/themes/notmyidea/templates/base.html index 6a5cfaf5..ad7039a8 100644 --- a/pelican/themes/notmyidea/templates/base.html +++ b/pelican/themes/notmyidea/templates/base.html @@ -81,6 +81,7 @@ {% include 'analytics.html' %} +{% include 'piwik.html' %} {% include 'disqus_script.html' %} diff --git a/pelican/themes/notmyidea/templates/piwik.html b/pelican/themes/notmyidea/templates/piwik.html new file mode 100644 index 00000000..ff459af7 --- /dev/null +++ b/pelican/themes/notmyidea/templates/piwik.html @@ -0,0 +1,16 @@ +{% if PIWIK_URL and PIWIK_SITE_ID %} + +{% endif %} \ No newline at end of file