willfaught / paige

Powerful, pliable pixel perfection. An advanced Hugo theme.
https://willfaught.com/paige
MIT License
243 stars 51 forks source link

[bug] credits show escaped html #93

Open Svintooo opened 1 month ago

Svintooo commented 1 month ago

The credits for paige that shows at the bottom of my hugo webpage shows plain html for me.

image

My workaround is to disable the credits in hugo.toml so it disappears.

[params.paige.site]
disable_credit = true

I have never used hugo or paige before. I am a complete beginner. I am developing my webpage in Windows 11 using Powershell.

hugo: hugo v0.133.0-c9777473d1369f812d727a6c07dc57ad7be7bf62+extended windows/amd64 BuildDate=2024-08-17T19:57:41Z VendorInfo=gohugoio go: go1.23.0 windows/amd64 dart: dart-sass-1.77.8 windows x64

Edit(2024-09-16): changed from disable_credit = false to disable_credit = true.

zigmd commented 1 month ago

How are you setting credit?

I'm able to view the credit by configuring the below in hugo.toml:

[params.paige]
credit = "Some text"
...
...
[params.paige.site]
disable_credit = false

and to not show it, I simply have to set:

[params.paige.site]
disable_credit = true
Svintooo commented 1 month ago

I have not set the credits. This is what I see when I create a new empty site using the instructions in the README.md.

And yes, setting disable_credit = true will remove it, so this is what I am using now. note: edited an error in my initial message

troed commented 1 day ago

I have the same with the default ones, also resorted to disabling them.