Merge pull request #69 from harmstyler/feature/change-feeds-tpl
Stop using deprecated .RSSLink.
This commit is contained in:
commit
5e5549399b
1 changed files with 3 additions and 5 deletions
|
@ -1,5 +1,3 @@
|
||||||
{{ if .RSSLink }}
|
{{ range .AlternativeOutputFormats -}}
|
||||||
<!-- RSS -->
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
||||||
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
|
{{ end -}}
|
||||||
<link href="{{ .RSSLink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />
|
|
||||||
{{ end }}
|
|
||||||
|
|
Loading…
Reference in a new issue