feat: changes the "name" parameter to "author"
This commit is contained in:
parent
bf2398c330
commit
e5da388676
|
@ -24,6 +24,7 @@ title = "Your site"
|
|||
theme = "code-editor"
|
||||
|
||||
[params]
|
||||
author = "John Doe"
|
||||
locale = "en-US"
|
||||
```
|
||||
|
||||
|
|
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue