From 646ce6e9a0f3f3357be229e9c772e96cd80e9a22 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Sapka?= Date: Tue, 10 Jan 2023 17:23:02 +0100 Subject: feat: fsf post and badge --- layouts/_default/list.html | 2 +- layouts/shortcodes/fsfbadge.html | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 layouts/shortcodes/fsfbadge.html (limited to 'layouts') diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 6255b45..b709bd7 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,5 +1,5 @@ {{ define "main" }} -{{- range where .Pages "Params.category" "!=" "pages"}} +{{- range where .Site.RegularPages "Params.category" "!=" "pages"}}

{{ .Page.Title }}

diff --git a/layouts/shortcodes/fsfbadge.html b/layouts/shortcodes/fsfbadge.html new file mode 100644 index 0000000..a3fed85 --- /dev/null +++ b/layouts/shortcodes/fsfbadge.html @@ -0,0 +1,5 @@ +
+ + I am an FSF associate + +
-- cgit v1.2.3