proper rss feed generate
This commit is contained in:
parent
3639584f9e
commit
ed7946c120
|
@ -1,5 +1,7 @@
|
|||
{{ 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) }}
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
Loading…
Reference in New Issue