Closed goern closed 1 year ago
Ah, makes sense. I've had unsafe set to true for a long time, so I'm unfamiliar with what happens when it's not true.
Unsafe is a Hugo configuration, not a Paige one. You can't put raw HTML into Markdown in Hugo without setting unsafe to true. There's an example of setting it to true in the example site.
I try to avoid duplicating Hugo documentation here as much as possible, aside from the "getting started" sections in the readme. Since it technically introduces a security concern, I don't actively advise people to do it.
follow up of https://github.com/willfaught/paige/discussions/12#discussioncomment-5411805
I dont know... then I found https://discourse.gohugo.io/t/raw-html-omitted-in-templates/43375/8
and added
to
config.yaml
, now it works. I was not aware that I need to have that set./kind documentation