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]]
|
||||
name = "youtube"
|
||||
weight = 5
|
||||
url = "https://softin.io/youtube"
|
||||
url = "https://www.youtube.com/@softinio"
|
||||
[[social]]
|
||||
name = "matrix"
|
||||
weight = 6
|
||||
|
|
|
@ -13,6 +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>
|
||||
<author>{{.Site.Author.name}}</author>
|
||||
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
|
||||
|
@ -27,6 +28,7 @@
|
|||
{{- end -}}
|
||||
{{ range where (where .Site.Pages ".Section" "post") "Kind" "page" }}
|
||||
<item>
|
||||
<author>{{.Site.Author.name}}</author>
|
||||
<title>{{ .Title }}</title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
||||
|
|
Loading…
Reference in a new issue