summaryrefslogtreecommitdiffhomepage
path: root/themes/docsy/layouts/_default
diff options
context:
space:
mode:
authorIan Lewis <ianmlewis@gmail.com>2019-10-18 00:19:24 -0400
committerIan Lewis <ianlewis@google.com>2019-11-13 13:03:16 -0800
commita2b055de52cb90180ad57c26119fe72e61d70494 (patch)
treea156c39ba5e044fa42600a6c2d7ddd7dd91c350c /themes/docsy/layouts/_default
parentcf5b8ec088eac99ede97a6c9e381485695638dee (diff)
Updated to Docsy HEAD
This updates the vendored docsy to https://github.com/google/docsy/tree/1a09abe6d7eaf02e44f79de3eadf8178a3792e81
Diffstat (limited to 'themes/docsy/layouts/_default')
-rw-r--r--themes/docsy/layouts/_default/list.rss.xml9
1 files changed, 2 insertions, 7 deletions
diff --git a/themes/docsy/layouts/_default/list.rss.xml b/themes/docsy/layouts/_default/list.rss.xml
index ae4f908ae..b74bc3579 100644
--- a/themes/docsy/layouts/_default/list.rss.xml
+++ b/themes/docsy/layouts/_default/list.rss.xml
@@ -2,18 +2,13 @@
<channel>
<title>{{ .Site.Title }} – {{ .Title }}</title>
<link>{{ .Permalink }}</link>
- <description>Recent Hugo news from gohugo.io</description>
+ <description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
<generator>Hugo -- gohugo.io</generator>{{ 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.Copyright }}
<copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
- <image>
- <url>{{ "img/hugo.png" | absURL }}</url>
- <title>GoHugo.io</title>
- <link>{{ .Permalink }}</link>
- </image>
{{ with .OutputFormats.Get "RSS" }}
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
{{ end }}
@@ -45,4 +40,4 @@
</item>
{{ end }}
</channel>
-</rss> \ No newline at end of file
+</rss>