add goatcounter support
This commit is contained in:
parent
6f7c2b6359
commit
58a4938c00
1 changed files with 15 additions and 9 deletions
|
@ -1,19 +1,25 @@
|
||||||
{% import "macros/macros.html" as post_macros %}
|
{% import "macros/macros.html" as post_macros %}
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang = "en">
|
<html lang="en">
|
||||||
{% include "partials/header.html" %}
|
{% include "partials/header.html" %}
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
{% include "partials/nav.html" %}
|
{% include "partials/nav.html" %}
|
||||||
<div class="content">
|
<div class="content">
|
||||||
|
|
||||||
{# Post page is the default #}
|
{# Post page is the default #}
|
||||||
{% block main_content %}
|
{% block main_content %}
|
||||||
Nothing here?!
|
Nothing here?!
|
||||||
{% endblock main_content %}
|
{% endblock main_content %}
|
||||||
</div>
|
</div>
|
||||||
{% include "partials/footer.html" %}
|
{% 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>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
Loading…
Add table
Reference in a new issue