summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--content/blog/2020/email-server-extras.md3
-rw-r--r--content/blog/2020/email-server.md1
-rw-r--r--content/blog/2022/email-server-revisited/index.md1
-rw-r--r--content/blog/2022/things-i-use.md2
-rw-r--r--layouts/blog/list.html2
-rw-r--r--layouts/know/single.html2
-rw-r--r--layouts/partials/footer.html5
-rw-r--r--layouts/partials/head.html3
-rw-r--r--layouts/partials/maths.html (renamed from layouts/partials/mathjax.html)0
-rw-r--r--static/main.css14
10 files changed, 20 insertions, 13 deletions
diff --git a/content/blog/2020/email-server-extras.md b/content/blog/2020/email-server-extras.md
index 5a72a84..9758834 100644
--- a/content/blog/2020/email-server-extras.md
+++ b/content/blog/2020/email-server-extras.md
@@ -1,6 +1,7 @@
---
title: "Setting up an email server in 2020 with OpenSMTPD and Dovecot: extras"
-publishDate: 2020-04-27
+firstLetter: "S"
+publishDate: 2020-04-28
date: 2021-02-22T17:19:49+01:00
draft: false
---
diff --git a/content/blog/2020/email-server.md b/content/blog/2020/email-server.md
index ba03fcf..a68af2a 100644
--- a/content/blog/2020/email-server.md
+++ b/content/blog/2020/email-server.md
@@ -1,5 +1,6 @@
---
title: "Setting up an email server in 2020 with OpenSMTPD and Dovecot"
+firstLetter: "S"
publishDate: 2020-04-27
date: 2021-02-22T17:27:49+01:00
draft: false
diff --git a/content/blog/2022/email-server-revisited/index.md b/content/blog/2022/email-server-revisited/index.md
index 838fe24..71afafd 100644
--- a/content/blog/2022/email-server-revisited/index.md
+++ b/content/blog/2022/email-server-revisited/index.md
@@ -1,6 +1,7 @@
---
title: "Revisiting my email server in 2022"
firstLetter: "R"
+publishDate: 2022-09-12
date: 2022-07-25T10:56:53+02:00
draft: false
---
diff --git a/content/blog/2022/things-i-use.md b/content/blog/2022/things-i-use.md
index 634731d..d994fd3 100644
--- a/content/blog/2022/things-i-use.md
+++ b/content/blog/2022/things-i-use.md
@@ -1,5 +1,7 @@
---
title: "Things I use and recommend"
+firstLetter: "T"
+publishDate: 2022-09-28
date: 2022-09-28T20:47:00+02:00
draft: false
---
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">
-&copy; Marcus R.A. Newman, alias &quot;Prefetch&quot;.
+&copy; 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
diff --git a/static/main.css b/static/main.css
index f275aa6..bb8c5b2 100644
--- a/static/main.css
+++ b/static/main.css
@@ -58,13 +58,6 @@ img {
float: right;
text-align: right;
}
-@media only screen and (max-width: 64ch) {
- .navl {width: 100%;}
- .navr {
- width: 100%;
- font-size: 1.8rem;
- }
-}
.footl {
float: left;
text-align: left;
@@ -73,6 +66,13 @@ img {
float: right;
text-align: right;
}
+@media only screen and (max-width: 72ch) {
+ .navl, .footl, .footr {width: 100%;}
+ .navr {
+ width: 100%;
+ font-size: 1.8rem;
+ }
+}
.noha a:link, .noha a:visited {
color: #121212;
color: var(--f);