swap back to cabin for analytics

This commit is contained in:
John Bowdre 2024-06-18 11:15:31 -05:00
parent c62d942813
commit 2771aef1bb
5 changed files with 8 additions and 13 deletions

View file

@ -1,7 +1,7 @@
--- ---
title: "/changelog" title: "/changelog"
date: "2024-05-26T21:19:08Z" 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?" description: "Maybe I should keep a log of all my site-related tinkering?"
featured: false featured: false
toc: false toc: false
@ -10,6 +10,9 @@ categories: slashes
--- ---
*High-level list of config/layout changes to the site.* *High-level list of config/layout changes to the site.*
**2024-06-18:**
- Swap back to [Cabin](https://withcabin.com) analytics
**2024-06-13:** **2024-06-13:**
- Add [Typo](https://neatnik.net/typo/) and a blinking cursor to the random taglines in the sidebar - Add [Typo](https://neatnik.net/typo/) and a blinking cursor to the random taglines in the sidebar

View file

@ -1,7 +1,7 @@
--- ---
title: "/colophon" title: "/colophon"
date: "2024-05-26T22:30:58Z" 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." description: "There's a lot that goes into this site. Let me tell you how it works."
featured: false featured: false
toc: true 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/)). - 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/)). - 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/). - 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/). - 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/) - 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). - 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).

View file

@ -41,9 +41,6 @@
{{- end }} {{- end }}
{{- if or (eq $reply true) (eq .Site.Params.analytics "true") }} {{- if or (eq $reply true) (eq .Site.Params.analytics "true") }}
<hr> <hr>
{{- if eq .Site.Params.analytics true }}
<span class="post_kudos"><button class="tinylytics_kudos">🎉 0</button></span>
{{- end }}
{{- if (eq $reply true) }} {{- if (eq $reply true) }}
{{- $path := .Page.RelPermalink | path.Dir }} {{- $path := .Page.RelPermalink | path.Dir }}
{{- $path := strings.Trim $path "/" }} {{- $path := strings.Trim $path "/" }}

View file

@ -56,8 +56,3 @@
<script src="https://status.lol/jbowdre.js?time&link&fluent&pretty"></script> <script src="https://status.lol/jbowdre.js?time&link&fluent&pretty"></script>
<hr> <hr>
<script src="https://shoutouts.lol/embed/kz-49_TpBK2YexqL6Gyf.js" defer></script> <script src="https://shoutouts.lol/embed/kz-49_TpBK2YexqL6Gyf.js" defer></script>
{{- if eq .Site.Params.analytics true }}
<hr>
<h3>webring</h3>
<a href="" target="_blank" class="tinylytics_webring" title="Tinylytics Webring">️🕸<img class="tinylytics_webring_avatar" src="" style="display: none"/>💍</a>
{{- end }}

View file

@ -38,8 +38,8 @@
<link rel="stylesheet" href="https://cdn.pride.codes/css/bar_body.css"> <link rel="stylesheet" href="https://cdn.pride.codes/css/bar_body.css">
{{ if eq .Site.Params.analytics true }} {{ if eq .Site.Params.analytics true }}
<!-- tinylytics --> <!-- cabin analytics -->
<script src="https://tinylytics.app/embed/z4bwvaCBkF39NcDDLsRu.js?kudos=🎉&webring=avatars" defer></script> <script async defer src="https://scripts.withcabin.com/hello.js"></script>
{{ end }} {{ end }}
<!-- syntax highlighting --> <!-- syntax highlighting -->