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"
|
theme = "code-editor"
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
author = "John Doe"
|
||||||
locale = "en-US"
|
locale = "en-US"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<base href="/">
|
<base href="/">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
<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" }}
|
{{ if isset . "Description" }}
|
||||||
<meta name="description" content="{{ .Description }}">
|
<meta name="description" content="{{ .Description }}">
|
||||||
{{ else }}
|
{{ else }}
|
||||||
|
|
Loading…
Reference in New Issue