From 2666c5768042bd0c7de7b774d82c6bd7bd02b9fb Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Fri, 4 Nov 2022 20:33:38 +0100 Subject: Use "related" instead of "mentions" Whilst we specifically mention related or relevant posts in some cases, sometimes related posts are added without any commentary. In that case it is confusing to name them "mentioned" without there being any mention of them in the post itself. Naming these kinds of posts "related" makes more sense and is clearer. --- content/14/index.md | 2 +- content/15/index.md | 2 +- content/8/index.md | 2 +- content/9/index.md | 2 +- post.sh | 2 +- sass/style.sass | 2 +- templates/macros.html | 2 +- templates/page.html | 8 ++++---- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/content/14/index.md b/content/14/index.md index c1eb119..d125d8b 100644 --- a/content/14/index.md +++ b/content/14/index.md @@ -6,7 +6,7 @@ title = "A post from syys" tags = ["experiments"] [extra] -mentions = [15] +related = [15] +++ I spent the last few days building a [cursed Gentoo diff --git a/content/15/index.md b/content/15/index.md index 9a1e97b..04f6cb2 100644 --- a/content/15/index.md +++ b/content/15/index.md @@ -6,7 +6,7 @@ title = "Minecraft on syys" tags = ["experiments"] [extra] -mentions = [14] +related = [14] +++ I didn't expect this to actually work, but as half-jokingly mentioned in the {{ diff --git a/content/8/index.md b/content/8/index.md index 608cc9b..7bfcbb0 100644 --- a/content/8/index.md +++ b/content/8/index.md @@ -6,7 +6,7 @@ title = "Applying patches with mutt(1)" tags = ["git", "TIL"] [extra] -mentions = [9] +related = [9] +++ When maintaining a project sooner or later there comes the time when you need to diff --git a/content/9/index.md b/content/9/index.md index f22ed61..3a49f15 100644 --- a/content/9/index.md +++ b/content/9/index.md @@ -6,7 +6,7 @@ title = "git-am(1) and mail sorting" tags = ["git", "TIL"] [extra] -mentions = [8] +related = [8] +++ In the {{ ref(id=8, text="previous post") }} I talked about a couple of diff --git a/post.sh b/post.sh index e037022..4028f14 100644 --- a/post.sh +++ b/post.sh @@ -16,7 +16,7 @@ print_front_matter() { tags = [] [extra] - mentions = [] + related = [] +++ EOF } diff --git a/sass/style.sass b/sass/style.sass index 1c9c352..1553227 100644 --- a/sass/style.sass +++ b/sass/style.sass @@ -56,7 +56,7 @@ a.bold-hover:hover text-decoration: none text-shadow: 0px 0px 1px var(--fg-href) -h3.mentions +h3.related margin: 0 h2.title diff --git a/templates/macros.html b/templates/macros.html index f69eb08..dc621f9 100644 --- a/templates/macros.html +++ b/templates/macros.html @@ -4,7 +4,7 @@ {{ config.extra.author }}