From 8dd739d4460028e0db760106b987df2ae40e6e89 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Fri, 9 Jun 2023 19:38:20 -0400 Subject: [PATCH] add small rss to /about/index.xml --- layouts/about/rss.xml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 layouts/about/rss.xml diff --git a/layouts/about/rss.xml b/layouts/about/rss.xml new file mode 100644 index 0000000..ea295f0 --- /dev/null +++ b/layouts/about/rss.xml @@ -0,0 +1,28 @@ + + + {{.Site.Title}} + {{ .Site.BaseURL }} + {{.Site.Params.description}} + Hugo -- gohugo.io{{ with .Site.LanguageCode }} + {{.}}{{end}} + + {{.Site.BaseURL}}{{.Site.Params.default_img}} + + {{ range .Site.RegularPages | first 5}} + + {{ .Title }} + {{ .Permalink }} + {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} + {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} + {{ .Permalink }}{{ if .Params.gif}} + + {{end}}{{ if .Params.video}} + + {{end}}{{ if .Params.audio}} + + {{end}}{{ if .Params.image}} + {{.Site.BaseURL}}{{.Params.image}}{{end}} + {{- .Content | html -}} + {{ end }} + +