citra-web/site/themes/citra-bs-theme/layouts/rss.xml

41 lines
1.7 KiB
XML
Raw Normal View History

2017-02-26 22:24:53 +01:00
<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>Citra</author>
    <rights>Copyright (c) 2017, Citra; all rights reserved.</rights>
    <updated>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 MST" }}</updated>
    {{ range where .Data.Pages "Section" "entry" }}
    <item>
      <title>{{ .Title }}</title>
      <link>{{ .Permalink }}</link>
      <pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 MST" }}</pubDate>
      <author>{{ .Params.Author }}</author>
      <guid>{{ .Permalink }}</guid>
      <description>{{ .Summary | html }}</description>
2017-02-26 22:24:53 +01:00
    </item>
    {{ end }}
{{ range where .Data.Pages "Section" "wiki" }}
    <item>
      <title>{{ .Title }}</title>
      <link>{{ .Permalink }}</link>
      <pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 MST" }}</pubDate>
      <author>{{ .Params.Author }}</author>
      <guid>{{ .Permalink }}</guid>
      <description>{{ .Summary | html }}</description>
    </item>
    {{ end }}
{{ range where .Data.Pages "Section" "games" }}
    <item>
      <title>{{ .Title }}</title>
      <link>{{ .Permalink }}</link>
      <pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 MST" }}</pubDate>
      <author>{{ .Params.Author }}</author>
      <guid>{{ .Permalink }}</guid>
      <description>{{ .Summary | html }}</description>
    </item>
    {{ end }}
2017-02-26 22:24:53 +01:00
  </channel>
</rss>