From d99ff3c4026322b2456f6dc45f8184ce18c94a48 Mon Sep 17 00:00:00 2001 From: Mark Powers Date: Thu, 21 Aug 2025 18:20:39 -0500 Subject: Add RSS styling --- layouts/_default/rss.xml | 7 ++++--- static/rss.xsl | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 3 deletions(-) create mode 100644 static/rss.xsl diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index c6b7f31..f9b9c66 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -11,6 +11,7 @@ {{- $pages = $pages | first $limit -}} {{- end -}} {{- printf "" | safeHTML }} +{{- printf "" | safeHTML }} {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} @@ -27,14 +28,14 @@ {{- end -}} {{ range $pages }} {{if compare.Eq .Section "blog"}} - + {{ .Title }} {{ .Permalink }} {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} {{ with .Site.Params.Author.email }}{{.}}{{ with $.Site.Params.Author.name }} ({{.}}){{end}}{{end}} {{ .Permalink }} - {{ .Summary | html }} - + {{ .Summary }} + {{ end }} {{ end }} diff --git a/static/rss.xsl b/static/rss.xsl new file mode 100644 index 0000000..5c919a6 --- /dev/null +++ b/static/rss.xsl @@ -0,0 +1,47 @@ + + + + + + + Marks' Kitchen Feed + + + + + +

+ + + + + + RSS Feed + +

+

This page is automatically generated. Use it with an RSS reader to fetch site updates.

+

+ + + +
+
\ No newline at end of file -- cgit v1.2.3