diff options
author | Ian Lewis <ianlewis@google.com> | 2020-01-17 01:47:38 -0500 |
---|---|---|
committer | Ian Lewis <ianlewis@google.com> | 2020-01-17 01:47:38 -0500 |
commit | 6d055f33a19203b8589142b74737dbe5f67d18e3 (patch) | |
tree | a19d52458e1453b48d4c568f70bbb114ad30aed2 /themes/docsy/layouts/_default | |
parent | c73410c0bda98fa617d82cf423ce96ee5e6af6a4 (diff) | |
parent | dcd8504d9866a9b0d95fadbff79e599f5d6893db (diff) |
Merge branch 'master' into lint-md
Diffstat (limited to 'themes/docsy/layouts/_default')
-rw-r--r-- | themes/docsy/layouts/_default/list.rss.xml | 9 |
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> |