Add option to toggle footer theme name display

- Introduced `footerThemeName` parameter in `hugo.toml.example` to control the display of Hugo and Hermit-V2 theme tribute in the footer.
 - Updated `footer.html` to conditionally display the tribute based on the `footerThemeName` parameter.
This commit is contained in:
Lei, HUANG
2024-09-29 23:09:44 -07:00
parent 50d838e649
commit c5330915ea
2 changed files with 6 additions and 2 deletions

View File

@ -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
footerThemeName = true
# bgImg = ""
# gitUrl = "https://github.com/1bl4z3r/hermit-V2/tree/staging"