Fix rss link. Close #28
This commit is contained in:
parent
9b1c2169e9
commit
127f3a40ba
@ -7,7 +7,9 @@
|
|||||||
<title>{{ if .Title }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title>
|
<title>{{ if .Title }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title>
|
||||||
<meta name="description" content="{{ .Site.Params.Description }}">
|
<meta name="description" content="{{ .Site.Params.Description }}">
|
||||||
|
|
||||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ "rss/" | absURL }}">
|
{{ with .OutputFormats.Get "rss" -}}
|
||||||
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
||||||
|
{{ end -}}
|
||||||
|
|
||||||
<link rel="icon" type="image/x-icon" href="{{ "favicon.ico" | absURL }}">
|
<link rel="icon" type="image/x-icon" href="{{ "favicon.ico" | absURL }}">
|
||||||
<link rel="apple-touch-icon-precomposed" href="{{ "favicon.png" | absURL }}">
|
<link rel="apple-touch-icon-precomposed" href="{{ "favicon.png" | absURL }}">
|
||||||
|
Loading…
Reference in New Issue
Block a user