Fixed RSS not generating for website.
This commit is contained in:
parent
563cd7f47c
commit
bfe7991fc8
@ -12,4 +12,5 @@ paginate = 10
|
|||||||
weight = 1
|
weight = 1
|
||||||
|
|
||||||
[outputs]
|
[outputs]
|
||||||
|
home = [ "HTML", "RSS" ]
|
||||||
section = [ "HTML", "JSON" ]
|
section = [ "HTML", "JSON" ]
|
||||||
|
@ -15,26 +15,6 @@
|
|||||||
<guid>{{ .Permalink }}</guid>
|
<guid>{{ .Permalink }}</guid>
|
||||||
<description>{{ .Summary | html }}</description>
|
<description>{{ .Summary | html }}</description>
|
||||||
</item>
|
</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" "game" }}
|
|
||||||
<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 }}
|
{{ end }}
|
||||||
</channel>
|
</channel>
|
||||||
</rss>
|
</rss>
|
||||||
|
Loading…
Reference in New Issue
Block a user