From 80596ab465a66b994806a83dcd7d333a29c10509 Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Fri, 7 Jan 2022 22:41:46 +0000 Subject: [PATCH] clean up rss feed. fix copyright. add spotify link --- config.toml | 3 ++- layouts/partials/sidemenu.html | 1 + layouts/partials/social.html | 8 +++++++- layouts/podcast/rss.xml | 8 ++++---- 4 files changed, 14 insertions(+), 6 deletions(-) diff --git a/config.toml b/config.toml index b391eda..4c80f73 100644 --- a/config.toml +++ b/config.toml @@ -2,12 +2,12 @@ baseURL = "https://gmgauthier.com/" languageCode = "en-us" title = "Greg Gauthier" +copyright = "Copyright 2022. All rights reserved." [author] name = "Greg Gauthier" email = "gmgauthier@protonmail.com" -copyright = "Copyright 2022. All rights reserved." canonifyurls = true paginate = 10 @@ -95,6 +95,7 @@ enableGitInfo = true minds = "greg_gauthier" gitea = "gmgauthier" odysee1 = "@gmgauthier:0" + spotify = "https://open.spotify.com/show/3qkV9mvW7vMu4kd6CzawQq" # anchorfm = "exitingthecave" # odysee2 = "@exitingthecave:1" # odysee3 = "@TheCaveWall:e" diff --git a/layouts/partials/sidemenu.html b/layouts/partials/sidemenu.html index 4ed0801..d078f66 100644 --- a/layouts/partials/sidemenu.html +++ b/layouts/partials/sidemenu.html @@ -32,4 +32,5 @@ {{ partial "social.html" . }} {{ partial "copyright.html" . }} + diff --git a/layouts/partials/social.html b/layouts/partials/social.html index e74280f..3d5fdee 100644 --- a/layouts/partials/social.html +++ b/layouts/partials/social.html @@ -9,9 +9,15 @@ {{ end }} + {{ with .Site.Social.spotify }} +
  • + My Spotify +
  • + {{ end }} + {{ with .Site.Social.odysee1 }}
  • - My Vlog + My Odysee
  • {{ end }} diff --git a/layouts/podcast/rss.xml b/layouts/podcast/rss.xml index 35485a7..e6037ab 100644 --- a/layouts/podcast/rss.xml +++ b/layouts/podcast/rss.xml @@ -15,7 +15,10 @@ {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} by {{ end }}{{ .Site.Title }}{{ end }} {{ .Permalink }} - Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }} + {{ .Site.Author.name }} + {{ .Site.Author.email }} + {{ with .Site.Copyright }}{{.}}{{end}} + Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}by {{ .Site.Title }} {{ .Site.BaseURL }}img/website-avatar-large.png {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} by {{ end }}{{ .Site.Title }}{{ end }} @@ -41,9 +44,6 @@ {{ with .Site.LanguageCode }}{{.}}{{end}} {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} - {{ .Site.Author.name }} - {{ .Site.Author.email }} - {{ with .Site.Copyright }}{{.}}{{end}} {{ if not .Date.IsZero }}{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }} {{- with .OutputFormats.Get "RSS" -}} {{ printf "" .Permalink .MediaType | safeHTML }}