From 2771aef1bb66f4f2bb65602a272d5a8784cd941e Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Tue, 18 Jun 2024 11:15:31 -0500 Subject: [PATCH] swap back to cabin for analytics --- content/changelog.md | 5 ++++- content/colophon.md | 4 ++-- layouts/_default/single.html | 3 --- layouts/partials/aside.html | 5 ----- layouts/partials/head.html | 4 ++-- 5 files changed, 8 insertions(+), 13 deletions(-) diff --git a/content/changelog.md b/content/changelog.md index dcc6567..8e397a1 100644 --- a/content/changelog.md +++ b/content/changelog.md @@ -1,7 +1,7 @@ --- title: "/changelog" date: "2024-05-26T21:19:08Z" -lastmod: "2024-06-13T16:20:54Z" +lastmod: "2024-06-18T16:12:15Z" description: "Maybe I should keep a log of all my site-related tinkering?" featured: false toc: false @@ -10,6 +10,9 @@ categories: slashes --- *High-level list of config/layout changes to the site.* +**2024-06-18:** +- Swap back to [Cabin](https://withcabin.com) analytics + **2024-06-13:** - Add [Typo](https://neatnik.net/typo/) and a blinking cursor to the random taglines in the sidebar diff --git a/content/colophon.md b/content/colophon.md index 52f78e1..a6a6fc6 100644 --- a/content/colophon.md +++ b/content/colophon.md @@ -1,7 +1,7 @@ --- title: "/colophon" date: "2024-05-26T22:30:58Z" -lastmod: "2024-06-13T22:06:26Z" +lastmod: "2024-06-18T16:09:47Z" description: "There's a lot that goes into this site. Let me tell you how it works." featured: false toc: true @@ -15,7 +15,7 @@ categories: slashes - uses the font face [Berkeley Mono](https://berkeleygraphics.com/typefaces/berkeley-mono/) ([details](/using-custom-font-hugo/)). - performs syntax highlighting with [Torchlight](https://torchlight.dev) ([details](/spotlight-on-torchlight/)). - provides site search with [lunr](https://lunrjs.com/) based on an implementation detailed by [Victoria Drake](https://victoria.dev/blog/add-search-to-hugo-static-sites-with-lunr/). -- leverages [tinylytics](https://tinylytics.app/) for privacy-friendly analytics and cute kudos buttons. +- leverages [Cabin](https://withcabin.com) for [privacy-friendly](https://withcabin.com/privacy/runtimeterror.dev) analytics. - resolves via [Bunny DNS](https://bunny.net/dns/). - is published to / hosted on [Bunny Storage](https://bunny.net/storage/) and [Bunny CDN](https://bunny.net/cdn/) with a [GitHub Actions workflow](//further-down-the-bunny-hole/) - has a [Gemini](https://geminiprotocol.net) mirror at `gemini://gmi.runtimeterror.dev`. This is generated from a [Hugo gemtext post layout](https://github.com/jbowdre/runtimeterror/blob/main/layouts/_default/single.gmi), deployed to a [Vultr](https://www.vultr.com/) VPS through a GitHub Actions workflow, and served with [Agate](https://github.com/mbrubeck/agate). diff --git a/layouts/_default/single.html b/layouts/_default/single.html index bdc5c86..11c8247 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -41,9 +41,6 @@ {{- end }} {{- if or (eq $reply true) (eq .Site.Params.analytics "true") }}
- {{- if eq .Site.Params.analytics true }} - - {{- end }} {{- if (eq $reply true) }} {{- $path := .Page.RelPermalink | path.Dir }} {{- $path := strings.Trim $path "/" }} diff --git a/layouts/partials/aside.html b/layouts/partials/aside.html index a37a656..48217c6 100644 --- a/layouts/partials/aside.html +++ b/layouts/partials/aside.html @@ -56,8 +56,3 @@
-{{- if eq .Site.Params.analytics true }} -
-

webring

-️🕸💍 -{{- end }} \ No newline at end of file diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 00325a4..63ecef5 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -38,8 +38,8 @@ {{ if eq .Site.Params.analytics true }} - - + + {{ end }}