diff --git a/hugo.toml.example b/hugo.toml.example index 08a8336..fe018e5 100644 --- a/hugo.toml.example +++ b/hugo.toml.example @@ -90,6 +90,8 @@ expiryDate = ["expiryDate"] #homeSubtitle = "CHANGE ME HOME SUBTITLE" footerCopyright = "CHANGE ME FOOTER COPYRIGHT" + # Whether to show a tribute to hugo and hermit-v2 theme + footerHideThemeName = false # bgImg = "" # gitUrl = "https://github.com/1bl4z3r/hermit-V2/tree/staging" diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 84ab09e..9f9cb9d 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -2,8 +2,10 @@

© {{ now.Format "2006" }} {{ .Site.Params.author.name }} · {{ .Site.Params.footerCopyright | safeHTML }} - · Made with Hugo - · Theme Hermit-V2 + {{- if not .Site.Params.footerHideThemeName -}} + · Made with Hugo + · Theme Hermit-V2 + {{- end -}} {{- with .OutputFormats.Get "RSS" }} · {{- partial "svg.html" (dict "context" . "name" "rss") -}} {{- end -}}