add goatcounter support

This commit is contained in:
Norman Köhring 2023-05-24 16:40:44 +02:00
parent 6f7c2b6359
commit 58a4938c00

View file

@ -1,19 +1,25 @@
{% import "macros/macros.html" as post_macros %}
<!DOCTYPE html>
<html lang = "en">
<html lang="en">
{% include "partials/header.html" %}
<body>
{% include "partials/nav.html" %}
<div class="content">
{# Post page is the default #}
{% block main_content %}
Nothing here?!
{% endblock main_content %}
</div>
{% include "partials/footer.html" %}
{% include "partials/nav.html" %}
<div class="content">
{# Post page is the default #}
{% block main_content %}
Nothing here?!
{% endblock main_content %}
</div>
{% include "partials/footer.html" %}
{% if config.extra.goatcounterName %}
<script data-goatcounter="https://{{ config.extra.goatcounterName }}.goatcounter.com/count" async
src="//gc.zgo.at/count.js"></script>
{% endif %}
</body>
</html>