update youtube link and add author to rss template
This commit is contained in:
parent
3844f82211
commit
de3e23c282
2 changed files with 3 additions and 1 deletions
|
@ -74,7 +74,7 @@
|
||||||
[[social]]
|
[[social]]
|
||||||
name = "youtube"
|
name = "youtube"
|
||||||
weight = 5
|
weight = 5
|
||||||
url = "https://softin.io/youtube"
|
url = "https://www.youtube.com/@softinio"
|
||||||
[[social]]
|
[[social]]
|
||||||
name = "matrix"
|
name = "matrix"
|
||||||
weight = 6
|
weight = 6
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
|
{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
|
||||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
<channel>
|
<channel>
|
||||||
|
<author>{{.Site.Author.name}}</author>
|
||||||
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
|
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
|
||||||
<link>{{ .Permalink }}</link>
|
<link>{{ .Permalink }}</link>
|
||||||
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
|
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
|
||||||
|
@ -27,6 +28,7 @@
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{ range where (where .Site.Pages ".Section" "post") "Kind" "page" }}
|
{{ range where (where .Site.Pages ".Section" "post") "Kind" "page" }}
|
||||||
<item>
|
<item>
|
||||||
|
<author>{{.Site.Author.name}}</author>
|
||||||
<title>{{ .Title }}</title>
|
<title>{{ .Title }}</title>
|
||||||
<link>{{ .Permalink }}</link>
|
<link>{{ .Permalink }}</link>
|
||||||
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
||||||
|
|
Loading…
Reference in a new issue