diff options
author | Raphael Aguiar <rmaguiar@tuta.io> | 2020-08-20 17:54:46 +0300 |
---|---|---|
committer | Raphael Aguiar <rmaguiar@tuta.io> | 2020-08-20 17:54:46 +0300 |
commit | 91bb69cd7c7f7570359b544ae8427c12895ca262 (patch) | |
tree | fd0f0e60c5c2a055bb99577185d3edeb4b9e6b92 /layouts/_default/index.xml | |
parent | 89be9f2f21c64c12d677128381c2b6dd3d6b1bbf (diff) |
Update RSS template and minor changes
Diffstat (limited to 'layouts/_default/index.xml')
-rw-r--r-- | layouts/_default/index.xml | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/layouts/_default/index.xml b/layouts/_default/index.xml deleted file mode 100644 index 2958297..0000000 --- a/layouts/_default/index.xml +++ /dev/null @@ -1,46 +0,0 @@ -{{ printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\" ?>" | safeHTML }} -<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> - <channel> - <title>{{ .Site.Title }}</title> - <link>{{ .Permalink }}</link> - <description>{{ .Site.Params.description }}</description> - <generator>Hugo -- gohugo.io</generator> - - {{ with .Site.Language }} - <language>{{ . }}</language> - {{end}} - - {{ with .Site.Author.email }} - <managingEditor>{{ . }}{{ with $.Site.Author.name }} ({{ . }}){{ end }}</managingEditor> - {{end}} - - {{ with .Site.Author.email }} - <webMaster>{{ . }}{{ with $.Site.Author.name }} ({{ . }}){{ end }}</webMaster> - {{end}} - - {{ with .Site.Copyright }} - <copyright>{{ . | markdownify | plainify }}</copyright> - {{end}} - - {{ if not .Date.IsZero }} - <lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate> - {{ end }} - - {{ with .OutputFormats.Get "RSS" }} - {{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }} - {{ end }} - - {{ range .Site.RegularPages }} - {{ if not .Params.sitemapExclude }} - <item> - <title>{{ .Title | emojify }}</title> - <link>{{ .Permalink }}</link> - <pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate> - {{ with .Site.Author.email }}<author>{{ . }}{{ with $.Site.Author.name }} ({{ . }}){{ end }}</author>{{ end }} - <guid>{{ .Permalink }}</guid> - <description>{{ if .Description }}{{ .Description | emojify }}{{ else }}{{ .Summary | plainify | truncate 140 }}{{ end }}</description> - </item> - {{ end }} - {{ end }} - </channel> -</rss>
\ No newline at end of file |