diff --git a/content/spam/2023-07-29-regionaldirektion-fuer-zoelle-und-indirekte-steuern/index.md b/content/spam/2023-07-29-regionaldirektion-fuer-zoelle-und-indirekte-steuern/index.md index 03d7509..c99013b 100644 --- a/content/spam/2023-07-29-regionaldirektion-fuer-zoelle-und-indirekte-steuern/index.md +++ b/content/spam/2023-07-29-regionaldirektion-fuer-zoelle-und-indirekte-steuern/index.md @@ -13,7 +13,7 @@ date = '2023-07-29T17:01:28+02:00' # showWordCount = false # showPagination = false -feed_exclude = true +#feed_exclude = true #site_exclude = true +++ diff --git a/layouts/spam/section.atom.xml b/layouts/spam/section.atom.xml new file mode 100644 index 0000000..3191e04 --- /dev/null +++ b/layouts/spam/section.atom.xml @@ -0,0 +1,39 @@ +{{- $pctx := . -}} +{{- if .IsHome -}}{{ $pctx = .Site }}{{- end -}} +{{- $pages := $pctx.RegularPages -}} +{{- $limit := .Site.Config.Services.RSS.Limit -}} +{{- if ge $limit 1 -}} +{{- $pages = $pages | first $limit -}} +{{- end -}} +{{- printf "" | safeHTML }} + + {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} + + {{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }} + + Dominic Reich “OE7DRT” + dominic@noreply.oe7drt.com + https://oe7drt.com + + {{ .Permalink }} + {{ range $pages }}{{ if ne .Params.feed_exclude true }} + + {{ .Title }} + + Dominic Reich “OE7DRT” + dominic@noreply.oe7drt.com + https://oe7drt.com + + + {{ .Permalink }} + {{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }} + {{ .Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML }} + {{ if .Site.Params.rssFullContent }} + {{ .Summary | html }} + {{ .Content | html }} + {{ else }} + {{ .Summary | html }} + {{ end }} + + {{ end }}{{ end }} +