Browse Source

Update param name of site description

The internal templates expect the site description to be at
Site.Params.Description, so I've updated to use that.
Apis Necros 2 years ago
parent
commit
a63675b69d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      layouts/partials/head.html

+ 1 - 1
layouts/partials/head.html

@@ -2,7 +2,7 @@
 	<meta charset="UTF-8" />
 	<meta http-equiv="content-language" content="en-us" />
 	<meta name="author" content="{{ .Site.Params.Author }}" />
-	<meta name="description" content="{{ if .Description }}{{ .Description }}{{ else }}{{ .Site.Params.SiteDescription }}{{ end }}" />
+	<meta name="description" content="{{ if .Description }}{{ .Description }}{{ else }}{{ .Site.Params.Description }}{{ end }}" />
 	{{- $keywords := "" }}
 	{{- if .Params.Tags }}{{ $keywords = delimit .Params.Tags "," }}{{ end }}
 	{{- if .IsHome }}{{ $keywords = delimit .Site.Params.Tags "," }}{{ end }}