fix site.author and site.email

This commit is contained in:
Greg Gauthier 2022-01-07 22:09:16 +00:00
parent 9ca6b2dcc5
commit e5fd28dcb5
2 changed files with 5 additions and 1 deletions

View File

@ -2,7 +2,10 @@ baseURL = "https://gmgauthier.com/"
languageCode = "en-us"
title = "Greg Gauthier"
author = "Greg Gauthier"
[author]
name = "Greg Gauthier"
email = "gmgauthier@protonmail.com"
copyright = "Copyright 2022. All rights reserved."
canonifyurls = true

View File

@ -40,6 +40,7 @@
{{ with .Site.LanguageCode }}<language>{{.}}</language>{{end}}
{{ with .Site.Author.email }}<managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}
{{ with .Site.Author.email }}<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}
{{ with .Site.Author.email }}<Author>{{.}}{{with $.Site.Author.name }} ({{.}}){{end}}</Author>{{end}}
{{ with .Site.Copyright }}<copyright>{{.}}</copyright>{{end}}
{{ if not .Date.IsZero }}<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
{{- with .OutputFormats.Get "RSS" -}}