diff options
author | Prefetch | 2022-10-01 17:26:04 +0200 |
---|---|---|
committer | Prefetch | 2022-10-01 17:26:04 +0200 |
commit | 65ed39a3d99983f9d498e0f2694290bb631ff96f (patch) | |
tree | 109cbb374d51cae8ae7328e6f1997ce4b97408a2 /layouts | |
parent | 5fb0163dc120039832789db67c7c1e214e79461d (diff) |
Add GoatCounter, general fixes
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/blog/list.html | 2 | ||||
-rw-r--r-- | layouts/know/single.html | 2 | ||||
-rw-r--r-- | layouts/partials/footer.html | 5 | ||||
-rw-r--r-- | layouts/partials/head.html | 3 | ||||
-rw-r--r-- | layouts/partials/maths.html (renamed from layouts/partials/mathjax.html) | 0 |
5 files changed, 7 insertions, 5 deletions
diff --git a/layouts/blog/list.html b/layouts/blog/list.html index 1bc9c3e..d6ab02f 100644 --- a/layouts/blog/list.html +++ b/layouts/blog/list.html @@ -13,7 +13,7 @@ <p> {{ .Key }}: <ul> - {{ range .Pages.ByPublishDate }} + {{ range sort .Pages.ByPublishDate ".PublishDate" "desc" }} <li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li> {{ end }} </ul> diff --git a/layouts/know/single.html b/layouts/know/single.html index 3deff24..1c3fd76 100644 --- a/layouts/know/single.html +++ b/layouts/know/single.html @@ -2,7 +2,7 @@ <html> <head> {{ partial "head.html" . }} -{{ partial "mathjax.html" . }} +{{ partial "maths.html" . }} <title>{{ .Title }} | {{ .Site.Title }}</title> </head> <body> diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index be95522..8a11b00 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,7 +1,8 @@ <hr> <div class="footl noha"> -© Marcus R.A. Newman, alias "Prefetch". +© Marcus R.A. Newman, +<a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>. </div> <div class="footr noha"> -<a href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a> +Privacy-friendly statistics by <a href="https://www.goatcounter.com/">GoatCounter</a>. </div> diff --git a/layouts/partials/head.html b/layouts/partials/head.html index ad10ab7..bab8ac8 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,3 +1,4 @@ <meta charset="utf-8"> <link rel="icon" href="data:,"> -<link rel="stylesheet" href="/main.css"> +<link rel="stylesheet" href="/main.css?v=20221001"> +<script data-goatcounter="https://prefetch.goatcounter.com/count" async src="https://gc.zgo.at/count.js"></script> diff --git a/layouts/partials/mathjax.html b/layouts/partials/maths.html index f7bf6e5..f7bf6e5 100644 --- a/layouts/partials/mathjax.html +++ b/layouts/partials/maths.html |