Update footer configuration and template
- Renamed `footerThemeName` to `footerHideThemeName` in `hugo.toml.example` - Updated conditional logic in `footer.html` to reflect the new parameter name
This commit is contained in:
@ -91,7 +91,7 @@ expiryDate = ["expiryDate"]
|
||||
#homeSubtitle = "CHANGE ME HOME SUBTITLE"
|
||||
footerCopyright = "CHANGE ME FOOTER COPYRIGHT"
|
||||
# Whether to show a tribute to hugo and hermit-v2 theme
|
||||
footerThemeName = true
|
||||
footerHideThemeName = false
|
||||
# bgImg = ""
|
||||
# gitUrl = "https://github.com/1bl4z3r/hermit-V2/tree/staging"
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
<p>
|
||||
© {{ now.Format "2006" }} <a href="{{ .Site.BaseURL }}">{{ .Site.Params.author.name }}</a>
|
||||
· {{ .Site.Params.footerCopyright | safeHTML }}
|
||||
{{- if .Site.Params.footerThemeName -}}
|
||||
{{- if not .Site.Params.footerHideThemeName -}}
|
||||
· Made with <a href="https://gohugo.io/" target="_blank" rel="noopener">Hugo</a>
|
||||
· Theme <a href="https://github.com/1bl4z3r/hermit-V2" target="_blank" rel="noopener">Hermit-V2</a>
|
||||
{{- end -}}
|
||||
|
Reference in New Issue
Block a user