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 }}
|
||||
<!-- RSS -->
|
||||
<link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
|
||||
<link href="{{ .RSSLink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />
|
||||
{{ end }}
|
||||
{{ range .AlternativeOutputFormats -}}
|
||||
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
||||
{{ end -}}
|
||||
|
|
Loading…
Reference in a new issue