slight adjustments to feed
This commit is contained in:
parent
506edb202f
commit
2cf689ad0c
Binary file not shown.
Before Width: | Height: | Size: 83 KiB After Width: | Height: | Size: 29 KiB |
File diff suppressed because one or more lines are too long
|
@ -13,6 +13,7 @@
|
|||
{{- $pages = $pages | first $limit -}}
|
||||
{{- end -}}
|
||||
{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
|
||||
{{- printf "<?xml-stylesheet href=\"/pretty-feed-v3.xsl\" type=\"text/xsl\"?>" | safeHTML }}
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
|
||||
|
@ -34,7 +35,7 @@
|
|||
<link>{{ .Permalink }}</link>
|
||||
<comments>{{ .Site.Author.mastodonlink }}</comments>
|
||||
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
||||
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
|
||||
<author>{{ with $.Site.Author.name }} {{.}}{{end}}</author>
|
||||
<guid>{{ .Permalink }}</guid>
|
||||
{{ if .Keywords }}
|
||||
{{ range .Keywords }}
|
||||
|
|
Loading…
Reference in New Issue