From 6e6a239498164578931fb4d0e24dbac6ebb5581e Mon Sep 17 00:00:00 2001 From: Greg Gauthier Date: Sun, 2 Jan 2022 11:53:33 +0000 Subject: [PATCH] it's 'baseURL' in the TOML file, but 'BaseURL' when referenced in templates. Sigh. --- config.toml | 1 + layouts/podcast/rss.xml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config.toml b/config.toml index f32dff2..a013c27 100644 --- a/config.toml +++ b/config.toml @@ -26,6 +26,7 @@ enableGitInfo = true goatcounterAnalytics = "gmgauthier" # disqus = "gmgauthier-1" # enabling this will add disqus to the bottom of all my posts automatically. cdnUrl = "https://gmgauthier.us-east-1.linodeobjects.com/podcast/" + [markup] [markup.goldmark.renderer] unsafe= true diff --git a/layouts/podcast/rss.xml b/layouts/podcast/rss.xml index d1b0ca3..d3718ed 100644 --- a/layouts/podcast/rss.xml +++ b/layouts/podcast/rss.xml @@ -15,7 +15,7 @@ {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} {{ .Permalink }} - https://gmgauthier.com/img/avatar.png + {{ .Site.BaseURL }}img/avatar.png Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }} Hugo -- gohugo.io{{ with .Site.LanguageCode }} {{.}}{{end}}{{ with .Site.Author.email }}