From 3c9f3b692bfecd18f32cfdf91e8f96c2722eadf1 Mon Sep 17 00:00:00 2001 From: "Luke W. Johnston" Date: Mon, 1 Sep 2025 11:51:54 +0200 Subject: [PATCH] refactor: :truck: move GoatCounter file into `docs/includes/` --- index.qmd | 3 +++ template/_quarto.yml.jinja | 2 +- template/docs/{ => includes}/site-counter.html.jinja | 0 3 files changed, 4 insertions(+), 1 deletion(-) rename template/docs/{ => includes}/site-counter.html.jinja (100%) diff --git a/index.qmd b/index.qmd index 6f927ea..5c73a0f 100644 --- a/index.qmd +++ b/index.qmd @@ -59,6 +59,9 @@ including for developing the package. [`seedcase-theme`](https://github.com/{{< meta gh.org >}}/seedcase-theme) Quarto extension for a standard appearance across websites. - Uses [Netlify](https://www.netlify.com/) for hosting the website. +- Includes a [GoatCounter](https://www.goatcounter.com/) file for website visitor + tracking, which is privacy-friendly and does not use cookies. That means + it doesn't need a GDPR notice as no personal data is collected. ## Want to contribute? diff --git a/template/_quarto.yml.jinja b/template/_quarto.yml.jinja index 91a2562..7937f1c 100644 --- a/template/_quarto.yml.jinja +++ b/template/_quarto.yml.jinja @@ -74,7 +74,7 @@ metadata-files: format: {{ "seedcase-theme-html" if is_seedcase_project else "html" }}: include-before-body: - - "docs/site-counter.html" + - "docs/includes/site-counter.html" editor: markdown: diff --git a/template/docs/site-counter.html.jinja b/template/docs/includes/site-counter.html.jinja similarity index 100% rename from template/docs/site-counter.html.jinja rename to template/docs/includes/site-counter.html.jinja