From c90e7b0c2e6ab50aae4764caff8a2ca419e3c968 Mon Sep 17 00:00:00 2001 From: Darren Griffin Date: Wed, 5 Aug 2026 15:34:23 +0000 Subject: [PATCH 1/4] Add Plausible, footer text and 404 event --- source/assets/stylesheets/extra.css | 8 ++++++++ source/overrides/404.html | 1 + source/overrides/main.html | 6 ++++++ source/overrides/partials/content.html | 3 +++ source/overrides/partials/footer.html | 1 + 5 files changed, 19 insertions(+) create mode 100644 source/overrides/main.html diff --git a/source/assets/stylesheets/extra.css b/source/assets/stylesheets/extra.css index de7d55d3..97720612 100644 --- a/source/assets/stylesheets/extra.css +++ b/source/assets/stylesheets/extra.css @@ -157,6 +157,14 @@ code { color: var(--md-default-fg-color--light); } +.plausible-attribution { + margin-top: 1.5rem; +} + +.plausible-attribution a { + text-decoration: underline; +} + ol:not(.no-styling) { list-style: none; counter-reset: markdown-ordered-list; diff --git a/source/overrides/404.html b/source/overrides/404.html index 3ef801c9..db0d5c35 100644 --- a/source/overrides/404.html +++ b/source/overrides/404.html @@ -2,4 +2,5 @@ {% block content %}

404 - Not found

+ {% endblock %} diff --git a/source/overrides/main.html b/source/overrides/main.html new file mode 100644 index 00000000..cdab94cc --- /dev/null +++ b/source/overrides/main.html @@ -0,0 +1,6 @@ +{% extends "base.html" %} + +{% block extrahead %} + {{ super() }} + +{% endblock %} diff --git a/source/overrides/partials/content.html b/source/overrides/partials/content.html index ce7a2df6..eefd626f 100644 --- a/source/overrides/partials/content.html +++ b/source/overrides/partials/content.html @@ -40,6 +40,9 @@

Resources

{% endfor %} +

+ This website uses privacy-first analytics to help us improve the site. You can view all data in our public dashboard. +

{% endfor %} -

- This website uses privacy-first analytics to help us improve the site. You can view all data in our public dashboard. -

{% endblock %} -{% block content %}{% endblock %} -{% block footer %}{% endblock %} \ No newline at end of file +{% block content %}{% endblock %} \ No newline at end of file From 9cb7e454ea0f2c025d8f406289c08aba66414bf0 Mon Sep 17 00:00:00 2001 From: Darren Griffin Date: Thu, 6 Aug 2026 09:44:46 +0000 Subject: [PATCH 4/4] Open footer analytics links in new tab --- source/overrides/partials/footer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/overrides/partials/footer.html b/source/overrides/partials/footer.html index 05a1bee7..0240c62c 100644 --- a/source/overrides/partials/footer.html +++ b/source/overrides/partials/footer.html @@ -1,6 +1,6 @@