From 749cb3b4dc0c5ee7b9a2622a6cb1d731ffbc5004 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Wed, 29 Apr 2026 12:24:45 +0200 Subject: feat: add obsolete article banner --- layouts/partials/obsolete-banner.html | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 layouts/partials/obsolete-banner.html (limited to 'layouts/partials/obsolete-banner.html') diff --git a/layouts/partials/obsolete-banner.html b/layouts/partials/obsolete-banner.html new file mode 100644 index 0000000..9bcaab9 --- /dev/null +++ b/layouts/partials/obsolete-banner.html @@ -0,0 +1,22 @@ +{{ if .Params.obsolete }} + {{ $successor := false }} + {{ with .Params.successor }} + {{ $successor = site.GetPage . }} + {{ end }} + +{{ end }} -- cgit v1.2.3