mirror of
https://github.com/rottenwheel/revuoxmrtheme.git
synced 2024-12-29 03:47:53 +00:00
fix: exclude "Weeklies" entry in RSS feed
This commit is contained in:
parent
ba46190603
commit
3104b7fb1c
1 changed files with 11 additions and 9 deletions
|
@ -12,6 +12,7 @@
|
||||||
<atom:link href="{{ .Permalink }}" rel="self" type="application/rss+xml" />
|
<atom:link href="{{ .Permalink }}" rel="self" type="application/rss+xml" />
|
||||||
|
|
||||||
{{ range where .Site.Pages "Type" "weekly" }}
|
{{ range where .Site.Pages "Type" "weekly" }}
|
||||||
|
{{ if ne .Title "Weeklies" }}
|
||||||
<item>
|
<item>
|
||||||
<title>{{ .Title }}</title>
|
<title>{{ .Title }}</title>
|
||||||
<link>{{ .Permalink }}</link>
|
<link>{{ .Permalink }}</link>
|
||||||
|
@ -23,5 +24,6 @@
|
||||||
<media:content medium="image" url="{{ .Permalink }}cover.png" xmlns:media="http://search.yahoo.com/mrss/" />
|
<media:content medium="image" url="{{ .Permalink }}cover.png" xmlns:media="http://search.yahoo.com/mrss/" />
|
||||||
</item>
|
</item>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
</channel>
|
</channel>
|
||||||
</rss>
|
</rss>
|
Loading…
Reference in a new issue