From 58a4938c004a1e168696e3ef2cfa5b84c72bf1da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Norman=20K=C3=B6hring?= Date: Wed, 24 May 2023 16:40:44 +0200 Subject: [PATCH] add goatcounter support --- templates/base.html | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/templates/base.html b/templates/base.html index e3bc474..c18208c 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,19 +1,25 @@ {% import "macros/macros.html" as post_macros %} - + {% include "partials/header.html" %} - {% include "partials/nav.html" %} -
- {# Post page is the default #} - {% block main_content %} - Nothing here?! - {% endblock main_content %} -
- {% include "partials/footer.html" %} + {% include "partials/nav.html" %} +
+ {# Post page is the default #} + {% block main_content %} + Nothing here?! + {% endblock main_content %} +
+ {% include "partials/footer.html" %} + + {% if config.extra.goatcounterName %} + + {% endif %} + \ No newline at end of file