From de3e23c28221636c67e46bf6ecf0a68492d0caf2 Mon Sep 17 00:00:00 2001 From: Salar Rahmanian Date: Sun, 21 May 2023 17:01:56 -0700 Subject: [PATCH] update youtube link and add author to rss template --- config/_default/menus/menu.en.toml | 2 +- layouts/_default/rss.xml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config/_default/menus/menu.en.toml b/config/_default/menus/menu.en.toml index 9a55d5a..65d9c3d 100644 --- a/config/_default/menus/menu.en.toml +++ b/config/_default/menus/menu.en.toml @@ -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 diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 9616708..baad8fe 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -13,6 +13,7 @@ {{- printf "" | safeHTML }} + {{.Site.Author.name}} {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} {{ .Permalink }} Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }} @@ -27,6 +28,7 @@ {{- end -}} {{ range where (where .Site.Pages ".Section" "post") "Kind" "page" }} + {{.Site.Author.name}} {{ .Title }} {{ .Permalink }} {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}