From 1543c5602fbf11ba336d92c955384f76909e5ab3 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Mon, 17 Nov 2025 17:59:22 -0700 Subject: [PATCH] Add a section in the footer to denote that the article is pinned. --- layouts/posts/single.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/layouts/posts/single.html b/layouts/posts/single.html index b10f134..db98e13 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -67,6 +67,11 @@
+ {{ if .Params.pinned }} + Pinned: This article is pinned. + {{ end }} {{ partial "tags.html" . }} {{ partial "series.html" . }} {{ partial "categories.html" . }}