From bb2a12a74d942819b805b80222c30bd1e9788d63 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Fri, 15 Apr 2022 17:45:23 -0400 Subject: [PATCH] explicit link to rss --- layouts/partials/footer.html | 18 ++++++++++++++++++ static/pix/rss.svg | 33 +++++++++++++++++++++++++++++++++ static/style.css | 1 + 3 files changed, 52 insertions(+) create mode 100644 layouts/partials/footer.html create mode 100644 static/pix/rss.svg diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..a91b39c --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,18 @@ + {{ if isset .Params "tags" }} + {{ $tagsLen := len .Params.tags }} + {{ if gt $tagsLen 0 }} +
+ See related:
+ {{ range $k, $v := .Params.tags }} + {{ $url := printf "tags/%s" (. | urlize | lower) }} + {{ . }} + {{ if lt $k (sub $tagsLen 1) }}·{{ end }} + {{ end }} +
+ {{ end }} + {{ end }} + + + + diff --git a/static/pix/rss.svg b/static/pix/rss.svg new file mode 100644 index 0000000..35afbe2 --- /dev/null +++ b/static/pix/rss.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/static/style.css b/static/style.css index 63cd98b..efbcec6 100644 --- a/static/style.css +++ b/static/style.css @@ -34,6 +34,7 @@ h2 { } footer { + margin: 3em ; text-align: center ; }