|
1 | 1 | <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
2 | 2 | <channel>
|
3 |
| - <title>{{ .Title }} on {{ .Site.Title }} </title> |
| 3 | + <title>{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}</title> |
4 | 4 | <link>{{ .Permalink }}</link>
|
5 |
| - <language>en-US</language> |
6 |
| - <author>Dave Täht</author> |
7 |
| - <rights>Copyright (c) 2016, Michael D. Taht; all rights reserved.</rights> |
8 |
| - <updated>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 MST" }}</updated> |
9 |
| - {{ range first 15 .Data.Pages }} |
| 5 | + <description>Recent news {{ with .Title }}in {{.}} {{ end }}on {{ .Site.Title }}</description> |
| 6 | + <generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }} |
| 7 | + <language>{{.}}</language>{{end}}{{ with .Site.Author.email }} |
| 8 | + <managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }} |
| 9 | + <webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }} |
| 10 | + <copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }} |
| 11 | + <lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }} |
| 12 | + <atom:link href="{{.URL}}" rel="self" type="application/rss+xml" /> |
| 13 | + {{ range first 15 (where .Site.Pages.ByDate.Reverse "Type" "=" "news") }} |
10 | 14 | <item>
|
11 | 15 | <title>{{ .Title }}</title>
|
12 | 16 | <link>{{ .Permalink }}</link>
|
13 |
| - <pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 MST" }}</pubDate> |
14 |
| - <author>Dave Täht</author> |
| 17 | + <pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate> |
| 18 | + {{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}} |
15 | 19 | <guid>{{ .Permalink }}</guid>
|
16 | 20 | <description>{{ .Content | html }}</description>
|
17 | 21 | </item>
|
|
0 commit comments