# HG changeset patch # User David Douard # Date 1668102734 -3600 # Node ID 202ad178f68fd76a90cdfdb69f3ff180aa3f9e29 # Parent 9e963e155d4cdb25c19a68405795a22aba3dc4ab Fix matomo and CATEGORY_FEED_ATOM config option diff -r 9e963e155d4c -r 202ad178f68f publishconf.py --- a/publishconf.py Thu Nov 10 17:26:20 2022 +0100 +++ b/publishconf.py Thu Nov 10 18:52:14 2022 +0100 @@ -14,10 +14,12 @@ RELATIVE_URLS = False FEED_ALL_ATOM = 'feeds/all.atom.xml' -CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml' +CATEGORY_FEED_ATOM = 'feeds/{slug}.atom.xml' DELETE_OUTPUT_DIRECTORY = True +MATOMO_JS = True + # Following items are often useful when publishing #DISQUS_SITENAME = "" diff -r 9e963e155d4c -r 202ad178f68f theme/templates/base.html --- a/theme/templates/base.html Thu Nov 10 17:26:20 2022 +0100 +++ b/theme/templates/base.html Thu Nov 10 18:52:14 2022 +0100 @@ -35,8 +35,20 @@ {% if TAG_FEED_RSS and tag %} {% endif %} - {% if PIWIK %} - {{PIWIK}} + {% if MATOMO_JS %} + {% endif %} {% if article %} {% if article.stylesheets %} @@ -134,10 +146,9 @@ {% include 'trademark.html' %} - {% if PIWIK %} - + + {% if MATOMO_IMG %} + {% endif %}