From d1d65c94b888c2959c9da799e4329161ede449ea Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Fri, 20 Jan 2023 12:06:49 +0100 Subject: Made Riker into a Zola-theme - Rikerz --- layouts/index.atom.xml | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 layouts/index.atom.xml (limited to 'layouts/index.atom.xml') diff --git a/layouts/index.atom.xml b/layouts/index.atom.xml deleted file mode 100644 index 7443f34..0000000 --- a/layouts/index.atom.xml +++ /dev/null @@ -1,36 +0,0 @@ -{{- $pctx := . -}} -{{- if .IsHome -}}{{ $pctx = .Site }}{{- end -}} -{{- $pages := slice -}} -{{- if or $.IsHome $.IsSection -}} -{{- $pages = $pctx.RegularPages -}} -{{- else -}} -{{- $pages = $pctx.Pages -}} -{{- end -}} -{{- $limit := .Site.Config.Services.RSS.Limit -}} -{{- if ge $limit 1 -}} -{{- $pages = $pages | first $limit -}} -{{- end -}} - - {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} - - {{ if not .Date.IsZero }} - {{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}{{end}} - {{ .Permalink }}{{ with .Site.Author.name }} - - {{.}}{{ with $.Site.Author.email }} - {{.}}{{end}} - {{end}} - Hugo -- gohugo.io - {{ range where $pages "Params.hidden" "ne" "true" }} - - {{ `<![CDATA[` | safeHTML }}{{ .Title }}]]> - - {{ .Permalink }}{{ with .Site.Params.Author }} - - {{.}} - {{end}} - {{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }} - {{ .Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML }} - {{ ` - {{ end }} - -- cgit v1.2.3