Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] credits show escaped html #93

Open
Svintooo opened this issue Sep 15, 2024 · 4 comments
Open

[bug] credits show escaped html #93

Svintooo opened this issue Sep 15, 2024 · 4 comments

Comments

@Svintooo
Copy link

Svintooo commented Sep 15, 2024

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
Copy link

zigmd commented Sep 15, 2024

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
Copy link
Author

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
Copy link

troed commented Nov 7, 2024

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

@valantur
Copy link

The parameters shown under the "Configure" section of the readme for this project is misleading.
People are copying and pasting the code block there instead of using the contents of the example site at https://github.com/willfaught/paige/blob/master/exampleSite/hugo.toml

[paige] should be [params.paige]. In fact, all of the params in hugo.toml begin with "params", so [paige.alert] should be [params.paige.alert].

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants