modify title for rss and atom feeds
This commit is contained in:
parent
0c74386d91
commit
3a8ae66cf4
|
@ -13,7 +13,7 @@
|
|||
{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | 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>
|
||||
<title>~hedy</title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
|
||||
<ttl>1440</ttl>
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
{{- end -}}
|
||||
{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\"?>" | safeHTML }}
|
||||
<feed xmlns="http://www.w3.org/2005/Atom">
|
||||
<title>Hedy's capsule</title>
|
||||
<title>hedy's gemlog</title>
|
||||
<link href="gemini://hedy.tilde.cafe"/>
|
||||
<updated>{{ .Date.Format "2006-01-02" | safeHTML }}T12:00:00Z</updated>
|
||||
<id>gemini://hedy.tilde.cafe</id>
|
||||
|
|
Loading…
Reference in New Issue