diff options
Diffstat (limited to 'layouts/rss.xml')
-rw-r--r-- | layouts/rss.xml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/layouts/rss.xml b/layouts/rss.xml new file mode 100644 index 0000000..c9ff732 --- /dev/null +++ b/layouts/rss.xml @@ -0,0 +1,20 @@ +<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> + <channel> + <title>{{ .Title }} on {{ .Site.Title }} </title> + <link>{{ .Permalink }}</link> + <language>en-us</language> + <author>Author</author> + <rights>Licensed under the Creative Commons Attribution-NonCommercial 3.0 Unported License by Author</rights> + <updated>{{ .Date }}</updated> + {{ range .Data.Pages }} + <item> + <title>{{ .Title }}</title> + <link>{{ .Permalink }}</link> + <pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 MST" }}</pubDate> + <author>Author</author> + <guid>{{ .Permalink }}</guid> + <description>{{ .Content | html }}</description> + </item> + {{ end }} + </channel> +</rss>
\ No newline at end of file |