feat: changes the "name" parameter to "author"

This commit is contained in:
kendo5731 2017-02-13 20:19:07 +01:00
parent bf2398c330
commit e5da388676
2 changed files with 2 additions and 1 deletions

View File

@ -24,6 +24,7 @@ title = "Your site"
theme = "code-editor"
[params]
author = "John Doe"
locale = "en-US"
```

View File

@ -1,7 +1,7 @@
<base href="/">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="author" content="{{ with .Site.Params.name }}{{ . }}{{ end }}">
<meta name="author" content="{{ with .Site.Params.author }}{{ . }}{{ end }}">
{{ if isset . "Description" }}
<meta name="description" content="{{ .Description }}">
{{ else }}