Welcome to mirror list, hosted at ThFree Co, Russian Federation.

rss.xml « layouts - github.com/tummychow/lanyon-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2c82bad0629b08eb9abb9e492bf62d1116716c16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>{{ .Site.Title }} </title>
    <link>{{ .Permalink }}</link>
    <language>en-us</language>
    <author>{{ .Site.Params.Author }}</author>
    <rights>(C) {{ .Site.LastChange.Year }}</rights>
    <updated>{{ .Date }}</updated>

    {{ range where .Site.RegularPages "Type" "in" .Site.Params.mainSections }}
      <item>
        <title>{{ .Title }}</title>
        <link>{{ .Permalink }}</link>
        <pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 MST" }}</pubDate>
        <author>{{ .Site.Params.Author }}</author>
        <guid>{{ .Permalink }}</guid>
        <description>{{ .Content | html }}</description>
      </item>
    {{ end }}

  </channel>
</rss>