diff --git a/exampleSiteMultilingual/hugo.toml b/exampleSiteMultilingual/hugo.toml index 5ca0302..14e1713 100644 --- a/exampleSiteMultilingual/hugo.toml +++ b/exampleSiteMultilingual/hugo.toml @@ -9,9 +9,10 @@ disqusShortname = "" [author] name = "Junyi" +email = "me@junyi.dev" +location = "Singapore" [params] -author = "Junyi" description = "Anubis2 is another simple minimalist theme for Hugo blog engine." dateFormat = "2006-01-02" paginationSinglePost = true diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index b580485..fbff101 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -15,7 +15,7 @@ {{ end }}
- © {{ if isset .Site.Params "author"}}{{ .Site.Params.author }}, {{end}}{{ now.Year }} + © {{ if isset .Site.Author "name"}}{{ .Site.Author.name }}, {{end}}{{ now.Year }} {{ if .Site.Params.UmamiAnalytics.shareUrl }} {{ end }}