it's 'baseURL' in the TOML file, but 'BaseURL' when referenced in templates. Sigh.

This commit is contained in:
Greg Gauthier 2022-01-02 11:53:33 +00:00
parent b244c503f7
commit 6e6a239498
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -15,7 +15,7 @@
<channel>
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
<link>{{ .Permalink }}</link>
<image>https://gmgauthier.com/img/avatar.png</image>
<image>{{ .Site.BaseURL }}img/avatar.png</image>
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
<language>{{.}}</language>{{end}}{{ with .Site.Author.email }}