pidgin/nest

Add an RSS link to the blog post page
default tip
6 weeks ago, Gary Kramlich
957ad9b1500d
Parents 20382db508f0
Children
Add an RSS link to the blog post page

Testing Done:
Ran `hugo server` and verified everything was working.

Reviewed at https://reviews.imfreedom.org/r/1024/
--- a/hugo/content/post/_index.md Thu Oct 14 22:52:06 2021 -0500
+++ b/hugo/content/post/_index.md Mon Oct 18 21:04:20 2021 -0500
@@ -2,4 +2,5 @@
title: Blog
---
-Keep up to date with all things Pidgin, Finch and libpurple
+Keep up to date with all things Pidgin, Finch and libpurple {{< inline-image "images/rss.png" "post/index.xml" "rss" >}}
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/hugo/layouts/shortcodes/inline-image.html Mon Oct 18 21:04:20 2021 -0500
@@ -0,0 +1,1 @@
+{{ with .Get 3 }}<img style="margin: 0; display: inline;" src="{{ . }}">{{ else }}<a href="{{ .Site.BaseURL }}{{ .Get 1 }}"><img style="margin: 0; display: inline;" src="{{ .Site.BaseURL }}{{ .Get 0 }}" alt="{{ .Get 2 }}"></a>{{ end }}
Binary file hugo/static/images/rss.png has changed