From cd34b3e823f90f36a3bbaca054abcdfa52e42cd7 Mon Sep 17 00:00:00 2001 From: Gabriel Date: Sat, 24 Aug 2024 00:53:06 -0400 Subject: [PATCH] update rss feed --- layouts/rss.xml | 32 +++++++++++++++++++------------- 1 file changed, 19 insertions(+), 13 deletions(-) diff --git a/layouts/rss.xml b/layouts/rss.xml index 0116047..34f1ac6 100644 --- a/layouts/rss.xml +++ b/layouts/rss.xml @@ -1,31 +1,37 @@ -{{- printf "" | safeHTML }} - +{{- printf "" | safeHTML }} + {{.Title}} {{ .Permalink }} {{.Params.description}} Hugo -- gohugo.io{{ with .Site.LanguageCode }} - {{.}}{{end}}{{ if .Site.Data.details.profilephoto}} + {{.}}{{end}} - {{.Site.Data.details.name}} - {{.Site.BaseURL}} - {{.Site.BaseURL}}{{.Site.Data.details.profilephoto}} - {{end}} - {{ range .Site.RegularPages }} + {{.Site.BaseURL}}{{.Site.Params.default_img}} + + {{if .Site.Params.funding}} + Support this work!{{end}} {{ range .Site.RegularPages }} {{ .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}} - + {{if in .Params.audio "https://"}} + + {{else}} + + {{end}} {{end}}{{ if .Params.image}} - {{.Params.image}}{{end}} - {{- .Content | html -}} + {{.Site.BaseURL}}{{.Params.image}} + + {{end}} + {{.Params.description}} + {{- .Content | html -}} {{ end }}