added icons to rss-feeds

This commit is contained in:
Nils Schulte 2020-07-26 16:38:12 +02:00
parent b32bf4de7e
commit f0ec48a36c
2 changed files with 3 additions and 2 deletions

View File

@ -10,6 +10,7 @@
{{ with $.Site.Author.name }}<name>{{.}}</name>{{end}}
{{ with $.Site.Author.email }}<email>{{.}}</email>{{end}}
</author>
<icon>{{ .Site.BaseURL }}img/favicon.ico</icon>
<generator>Hugo</generator>
<id>{{ .Permalink }}</id>
{{ range first 15 .Pages }}

View File

@ -3,8 +3,8 @@
<channel>
<title>{{ .Site.Title }}</title>
<link>{{ .Permalink }}</link>
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
<image><url>{{ .Site.BaseURL }}\img\favicon.ico</url></image>
<description>{{ .Site.Description }}</description>
<image><url>{{ .Site.BaseURL }}img/favicon.ico</url></image>
<generator>Hugo</generator>{{ with .Site.LanguageCode }}
<language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
<managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}