Fixed the .Site.Author.name reference to use currently recommended info.

Now uses .Site.Author.firstname and .Site.Author.lastname.
This commit is contained in:
Ghyslain Leclerc 2016-12-28 21:28:07 -05:00
parent 8262ab6f2d
commit e455fb9170

View file

@ -15,7 +15,7 @@
<title>{{ .Title }}</title>
<link>{{ .Permalink }}</link>
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
{{ with .Site.Author.email }}<author>{{.}}{{end}} ({{ with .Site.Author.firstname }}{{.}}{{ end }} {{ with .Site.Author.lastname }}{{.}}{{end}})</author>
<guid>{{ .Permalink }}</guid>
<description>{{ .Content | html }}</description>
</item>