commit 9c34be418f3d1c45d684c0838af32c86a4febe47 parent cf1667516ddeca6a4a09844aa50f9f2f336ec627 Author: Alex Balgavy <alex@balgavy.eu> Date: Sun, 24 Mar 2024 22:19:46 +0100 Update goatcounter link Diffstat:
M | config.toml | | | 2 | +- |
M | templates/base.html | | | 4 | ++-- |
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/config.toml b/config.toml @@ -20,4 +20,4 @@ smart_punctuation = true [extra] # Put all your custom variables here -debug = false +debug = true diff --git a/templates/base.html b/templates/base.html @@ -40,9 +40,9 @@ </head> <body> {% if page %} - <img src="https://stats.alex.balgavy.eu/count?p={{ page.path }}&t={{ page.title }}"> + <img src="https://stats.alex.balgavy.eu/count?p={{ config.base_url | replace(from='https://', to='/') }}/{{ page.path }}&t={{ page.title }}"> {% elif section %} - <img src="https://stats.alex.balgavy.eu/count?p={{ section.path }}&t={{ section.title }}"> + <img src="https://stats.alex.balgavy.eu/count?p={{ config.base_url | replace(from='https://', to='/') }}/{{ section.path }}&t={{ section.title }}"> {% endif %} {% if config.extra.debug %}