add GNU Inside badge
[~bandali/bndl.org] / layouts / partials / footer-block.html
diff --git a/layouts/partials/footer-block.html b/layouts/partials/footer-block.html
new file mode 100644 (file)
index 0000000..02bccfc
--- /dev/null
@@ -0,0 +1,12 @@
+{{ define "footer" }}
+{{ with .Site.Params.gnu_inside }}
+{{ if .enabled }}
+<div id="gnu-inside" style="position: absolute; top: 0px; right: 0px;">
+  <a href="{{ .url | relURL }}" style="border: none !important">
+    <img src="{{ (resources.Get "gnu-inside.png" | fingerprint).RelPermalink }}"
+         alt="GNU Inside!" title="GNU Inside!"/>
+  </a>
+</div>
+{{ end }}
+{{ end }}
+{{ end }}