summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/_partials/head/siteinfo.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/layouts/_partials/head/siteinfo.html b/layouts/_partials/head/siteinfo.html
index b49b5d4c..f1c4936d 100644
--- a/layouts/_partials/head/siteinfo.html
+++ b/layouts/_partials/head/siteinfo.html
@@ -7,7 +7,7 @@
<title>{{ $title }}</title>
<link rel="canonical" href="{{ .Permalink }}" />
-<meta name="author" content="{{ .Site.Params.author }}" />
+<meta name="author" content="{{ .Site.Params.author.name }}" />
<link rel="icon" href="/favicon.ico">
<meta property="og:url" content="{{ .Permalink }}" />
<meta property="og:title" content="{{ $title }}" />
@@ -40,11 +40,11 @@
"description" : "{{ default .Summary .Description | plainify }}",
{{- end }}
"inLanguage" : "zh-CN",
- "author" : "{{ .Site.Params.author }}",
- "creator" : "{{ .Site.Params.author }}",
- "publisher": "{{ .Site.Params.author }}",
- "accountablePerson" : "{{ .Site.Params.author }}",
- "copyrightHolder" : "{{ .Site.Params.author }}",
+ "author" : "{{ .Site.Params.author.name }}",
+ "creator" : "{{ .Site.Params.author.name }}",
+ "publisher": "{{ .Site.Params.author.name }}",
+ "accountablePerson" : "{{ .Site.Params.author.name }}",
+ "copyrightHolder" : "{{ .Site.Params.author.name }}",
"copyrightYear" : "{{ .Date.Format "2006" }}",
"datePublished": "{{ .Date }}",
"dateModified" : "{{ .Date }}",