diff options
-rw-r--r-- | layouts/rss.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/rss.xml b/layouts/rss.xml index ddc64ce..2d352a9 100644 --- a/layouts/rss.xml +++ b/layouts/rss.xml @@ -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> |