summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--content/2023/i-am-now-an-fsf-associate.md12
-rw-r--r--layouts/_default/list.html2
-rw-r--r--layouts/shortcodes/fsfbadge.html5
3 files changed, 18 insertions, 1 deletions
diff --git a/content/2023/i-am-now-an-fsf-associate.md b/content/2023/i-am-now-an-fsf-associate.md
new file mode 100644
index 00000000..71ec70a8
--- /dev/null
+++ b/content/2023/i-am-now-an-fsf-associate.md
@@ -0,0 +1,12 @@
+---
+title: "I am now an FSF associate"
+category: "blog"
+date: 2023-01-10T17:15:33+01:00
+draft: false
+tags: ["fsf", "freedom", "meta"]
+---
+
+As of January 2023 I am an associate of Free Software Fundation.
+
+{{< fsfbadge >}}
+
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 6255b45f..b709bd7c 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"}}
<article class="list">
<a href="{{ .Page.Permalink }}">
<h2>{{ .Page.Title }}</h2>
diff --git a/layouts/shortcodes/fsfbadge.html b/layouts/shortcodes/fsfbadge.html
new file mode 100644
index 00000000..a3fed857
--- /dev/null
+++ b/layouts/shortcodes/fsfbadge.html
@@ -0,0 +1,5 @@
+<center>
+ <a href="https://my.fsf.org/join?referrer=6050678" target="_blank">
+ <img src="https://static.fsf.org/nosvn/associate/crm/6050678.png" alt="I am an FSF associate" width="180" height="45">
+ </a>
+</center>