We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7bb946 commit 65c4408Copy full SHA for 65c4408
layouts/_default/rss.xml
@@ -0,0 +1,16 @@
1
+{{ "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>" | safeHTML }}
2
+<rss version="2.0">
3
+ <channel>
4
+ <title>{{ .Site.Title }}</title>
5
+ <link>{{ .Site.BaseURL }}</link>
6
+ <description>{{ .Site.Params.description }}</description>
7
+ {{ range where .Site.RegularPages "Section" "news" }}
8
+ <item>
9
+ <title>{{ .Title }}</title>
10
+ <link>{{ .Permalink }}</link>
11
+ <description>{{ .Summary | plainify }}</description>
12
+ <pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 MST" }}</pubDate>
13
+ </item>
14
+ {{ end }}
15
+ </channel>
16
+</rss>
0 commit comments