Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jnjosh/internet-weblog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGhyslain Leclerc <ghleclerc@gmail.com>2016-12-29 05:28:07 +0300
committerGhyslain Leclerc <ghleclerc@gmail.com>2016-12-29 05:28:07 +0300
commite455fb9170413f696e23572863a3d277bb0b5875 (patch)
tree682c378b9fceb2a1444bf6b7b900f747b063b19e
parent8262ab6f2d7b01e134fd3a4d945fbb77e54128bc (diff)
Fixed the .Site.Author.name reference to use currently recommended info.
Now uses .Site.Author.firstname and .Site.Author.lastname.
-rw-r--r--layouts/rss.xml2
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>