From e2c0c2aa64ec564b4db3e67371209e2fa8b4e0aa Mon Sep 17 00:00:00 2001 From: Mantas Vilčinskas Date: Sat, 2 Oct 2021 21:49:01 +0300 Subject: only allow informational posts to be pinned --- layouts/partials/index/announcements.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'layouts') diff --git a/layouts/partials/index/announcements.html b/layouts/partials/index/announcements.html index 01b353d..5f425fc 100644 --- a/layouts/partials/index/announcements.html +++ b/layouts/partials/index/announcements.html @@ -25,6 +25,7 @@ {{ end }} {{ range $pinned }} + {{ if .Params.informational }}

{{ .Title }} → @@ -42,6 +43,7 @@


+ {{ end }} {{ end }} {{ end }} -- cgit v1.2.3-70-g09d2