From ca5e718bc37d176f51f05917c6cac1e5f46cd7c4 Mon Sep 17 00:00:00 2001 From: BigCoke233 Date: Wed, 17 Dec 2025 14:52:06 +0800 Subject: fix: author map in meta tags instead of names --- layouts/_partials/head/siteinfo.html | 12 ++++++------ 1 file 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 }} - + @@ -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 }}", -- cgit v1.2.3