diff options
author | Dennis Eriksen <d@ennis.no> | 2023-01-20 12:06:49 +0100 |
---|---|---|
committer | Dennis Eriksen <d@ennis.no> | 2023-01-20 12:06:49 +0100 |
commit | d1d65c94b888c2959c9da799e4329161ede449ea (patch) | |
tree | 7551a0488ebd56d337a5bf22d7b5ec21a0a4a4e2 /layouts/index.atom.xml | |
parent | relative links on front page (diff) | |
download | rikerz-d1d65c94b888c2959c9da799e4329161ede449ea.tar.gz |
Made Riker into a Zola-theme - Rikerz
Diffstat (limited to 'layouts/index.atom.xml')
-rw-r--r-- | layouts/index.atom.xml | 36 |
1 files changed, 0 insertions, 36 deletions
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 -}} -<feed xmlns="http://www.w3.org/2005/Atom"> - <title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title> - <link href="{{ .Permalink }}feed.xml" rel="self"/> - <link href="{{ .Permalink }}"/>{{ if not .Date.IsZero }} - <updated>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated>{{end}} - <id>{{ .Permalink }}</id>{{ with .Site.Author.name }} - <author> - <name>{{.}}</name>{{ with $.Site.Author.email }} - <email>{{.}}</email>{{end}} - </author>{{end}} - <generator>Hugo -- gohugo.io</generator> - {{ range where $pages "Params.hidden" "ne" "true" }} - <entry> - {{ `<title type="html"><![CDATA[` | safeHTML }}{{ .Title }}]]></title> - <link href="{{ .Permalink }}"/> - <id>{{ .Permalink }}</id>{{ with .Site.Params.Author }} - <author> - <name>{{.}}</name> - </author>{{end}} - <published>{{ .Date.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</published> - <updated>{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated> - {{ `<content type="html"><![CDATA[` | safeHTML }}{{ .Content }}]]></content> - </entry>{{ end }} -</feed> |