-
Notifications
You must be signed in to change notification settings - Fork 945
Closed
Description
The term 'Hugo' appears in the generated RSS when it shouldn't:
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
<channel>
<title>OpenCue – New Releases</title>
<link>/blog/releases/</link>
<description>Recent Hugo news from gohugo.io</description>
<generator>Hugo -- gohugo.io</generator>
<lastBuildDate>Fri, 15 Feb 2019 19:06:19 -0500</lastBuildDate>
<image>
<url>img/hugo.png</url>
<title>GoHugo.io</title>
<link>/blog/releases/</link>
</image>
I believe this is caused by the contents of the RSS XML template.
Specifically this section:
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ .Site.Title }} – {{ .Title }}</title>
<link>{{ .Permalink }}</link>
<description>Recent Hugo news from gohugo.io</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>
Ideally, the template needs to be updated to populate the , <title>, <image from variables so that the tenant Docsy sites don't need to overrider this template locally.
Metadata
Metadata
Assignees
Labels
No labels