diff options
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r-- | layouts/partials/header.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 34377c7..e76b8ed 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -4,7 +4,7 @@ <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> - {{ .Hugo.Generator }} + {{ hugo.Generator }} <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <title>{{ .Title }} - {{ .Site.Params.description }}</title> @@ -24,6 +24,6 @@ {{ "<![endif]-->" | safeHTML }} <!-- RSS --> - <link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" /> + <link href="{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" /> </head> -<body class="{{ .Site.Params.colorScheme }}">
\ No newline at end of file +<body class="{{ .Site.Params.colorScheme }}"> |