diff options
Diffstat (limited to 'layouts/partials/header.html')
-rw-r--r-- | layouts/partials/header.html | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index de38c7a..9bd9457 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -41,17 +41,14 @@ <link href="{{ "/favicon.png" | absURL }}" rel="icon"> <!-- RSS --> - {{ $siteTitle := .Site.Title }} - {{ $authorName := .Site.Author.name }} - - {{ with .RSSLink }}<link href="{{ . }}" rel="alternate" type="application/rss+xml" title="{{ $siteTitle }}" />{{ end }} + {{ with .RSSLink }}<link href="{{ . }}" rel="alternate" type="application/rss+xml" title="{{ $.Site.Title }}" />{{ end }} <meta name="description" content="{{ if ne .Description "" }}{{ .Description }}{{ else }}{{ .Site.Params.defaultDescription }}{{ end }}"> <meta name="keywords" content="{{ range $index, $element := .Keywords }}{{ if gt $index 0 }},{{ end }}{{ . }}{{ else }}{{ .Site.Params.defaultKeywords }}{{ end }}"> <meta name="author" content="{{ .Site.Params.author }}"> - <!-- outputs the generator version for usage tacking --> + <!-- Generator version for usage tacking --> {{ .Hugo.Generator }} <!-- Google Analytics --> |