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:
authorJosh Johnson <jnjosh@jnjosh.com>2018-02-03 20:08:36 +0300
committerJosh Johnson <jnjosh@jnjosh.com>2018-02-03 20:08:36 +0300
commit0c39cde24835c3e0100a1c4697d93e99d4ad1634 (patch)
tree1a9defc404e0e1373ebf1e786b9fcc90b3ea6099 /layouts
parent6fcc558b7f4fd8b67b81b1cf19897179c1c12bd4 (diff)
Cleans up rss formatting
Diffstat (limited to 'layouts')
-rw-r--r--layouts/rss.xml5
-rw-r--r--layouts/section/microposts.rss.xml3
2 files changed, 3 insertions, 5 deletions
diff --git a/layouts/rss.xml b/layouts/rss.xml
index 2ec97e9..bac5e56 100644
--- a/layouts/rss.xml
+++ b/layouts/rss.xml
@@ -1,8 +1,7 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
-
<title>@{{ .Site.Author.handle }}’s {{ .Site.Title }}{{ with .Title }} - {{ . }}{{ end }}</title>
- <link>{{ .Permalink }}</link>
+ <link>{{ .Site.BaseURL }}{{ .Permalink }}</link>
<description>All entries {{ with .Title }}in {{.}} {{ end }}on {{ .Site.Title }}</description>
<generator>Hugo -- gohugo.io</generator>
{{ with .Site.LanguageCode }}<language>{{.}}</language>{{end}}
@@ -15,7 +14,7 @@
<title>{{ .Title }}</title>
<link>{{ .Permalink }}</link>
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
- <author>{{ with .Site.Author.email }}{{.}}{{end}} ({{ with .Site.Author.firstname }}{{.}}{{ end }} {{ with .Site.Author.lastname }}{{.}}{{end}})</author>
+ <author>{{ with .Site.Author.email }}{{.}} - {{end}}{{ with .Site.Author.firstname }}{{.}}{{ end }} {{ with .Site.Author.lastname }}{{.}}{{end}}</author>
<guid>{{ .Permalink }}</guid>
<description>{{ .Content | html }}</description>
</item>
diff --git a/layouts/section/microposts.rss.xml b/layouts/section/microposts.rss.xml
index 4c2a0d9..d6852f1 100644
--- a/layouts/section/microposts.rss.xml
+++ b/layouts/section/microposts.rss.xml
@@ -1,6 +1,5 @@
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
-
<title>@{{ .Site.Author.handle }}’s {{ .Site.Title }}{{ with .Title }} - {{ . }}{{ end }}</title>
<link>{{ .Permalink }}</link>
<description>All entries {{ with .Title }}in {{.}} {{ end }}on {{ .Site.Title }}</description>
@@ -17,7 +16,7 @@
{{ end }}
<link>{{ .Permalink }}</link>
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
- <author>{{ with .Site.Author.email }}{{.}}{{end}} ({{ with .Site.Author.firstname }}{{.}}{{ end }} {{ with .Site.Author.lastname }}{{.}}{{end}})</author>
+ <author>{{ with .Site.Author.email }}{{.}} - {{end}}{{ with .Site.Author.firstname }}{{.}}{{ end }} {{ with .Site.Author.lastname }}{{.}}{{end}}</author>
<guid>{{ .Permalink }}</guid>
<description>{{ .Content | html }}</description>
</item>