From: Amin Bandali Date: Tue, 27 Nov 2018 05:21:41 +0000 (-0500) Subject: add GNU Inside badge X-Git-Url: https://git.shemshak.org/gitweb.cgi/~bandali/bndl.org/commitdiff_plain/ba696547714a5918b2ccbee0fd21235b9d0919be?ds=sidebyside;hp=32d82dc5047b25cf556a4ad2c048f7841ae00a8e add GNU Inside badge (shout out to mtg) --- diff --git a/assets/gnu-inside.png b/assets/gnu-inside.png new file mode 100644 index 0000000..fdcceca Binary files /dev/null and b/assets/gnu-inside.png differ diff --git a/config.toml b/config.toml index 2d1cb17..4c6a3d7 100644 --- a/config.toml +++ b/config.toml @@ -29,6 +29,10 @@ pygmentsUseClasses = true # This applies to Chroma too. """ favicons = true + [Params.gnu_inside] + enabled = true + url = "https://www.gnu.org" + [Params.source] url = "https://git.sr.ht/~bandali/aminb.org" md_dir = "content" diff --git a/layouts/partials/footer-block.html b/layouts/partials/footer-block.html new file mode 100644 index 0000000..02bccfc --- /dev/null +++ b/layouts/partials/footer-block.html @@ -0,0 +1,12 @@ +{{ define "footer" }} +{{ with .Site.Params.gnu_inside }} +{{ if .enabled }} +
+ + GNU Inside! + +
+{{ end }} +{{ end }} +{{ end }}