File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 22< html lang ="{{ .Site.LanguageCode }} ">
33
44< head >
5- {{ .Hugo .Generator }}
5+ {{ hugo .Generator }}
66 < meta charset ="utf-8 ">
77 < meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
88 < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
2525 {{ if .IsHome }} {{ partial "site-verification" . }} {{ end }}
2626 <!-- add googleAnalytics in config.toml -->
2727 {{ template "_internal/google_analytics_async.html" . }}
28- {{ if .RSSLink }}
29- < link href ="{{ .RSSLink }} " rel ="alternate " type ="application/rss+xml " title ="{{ .Site.Title }} " /> {{ end }}
28+ {{ with .OutputFormats.Get "RSS" }}
29+ {{ printf `< link rel ="%s " type ="%s " href ="%s " title ="%s " /> ` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
30+ {{ end }}
3031
3132 < link rel ="canonical " href ="{{ .Permalink }} "> {{ if (isset .Params "prev") }}
3233 < link rel ="prev " href ="{{ .Params.prev }} "> {{ end }} {{ if (isset .Params "next") }}
You can’t perform that action at this time.
0 commit comments