proper rss feed generate
This commit is contained in:
parent
3639584f9e
commit
ed7946c120
|
@ -1,5 +1,7 @@
|
||||||
{{ if $.Param "showFeedLinks" }}
|
{{ if $.Param "showFeedLinks" }}
|
||||||
<a href="{{ .Permalink }}/index.xml" type="application/rss+xml" title="rss" aria-label="RSS Feed Link">
|
{{ if not (in ($.Param "notAllowedTypesInHomeFeed") .Type) }}
|
||||||
|
<a href="{{ .FirstSection.Permalink }}/index.xml" type="application/rss+xml" title="RSS" aria-label="RSS Feed Link">
|
||||||
{{ partial "svgs/etc/rss.svg" (dict "width" 32 "height" 32) }}
|
{{ partial "svgs/etc/rss.svg" (dict "width" 32 "height" 32) }}
|
||||||
</a>
|
</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ end }}
|
Loading…
Reference in New Issue