hugo-theme-learn
hugo-theme-learn copied to clipboard
Icons from content files not working

What I did:
- new Site
- copied static, layouts and content folder from example site to root directory
- customized the config.toml
Result: Everything works fine, except the Icons as shown in the image.
What could be the problem here?
It's because they added Goldmark as default renderer in Hugo 0.60.0.
Icons are being added via html tags in markdown.
You have two alternatives now:
- Allow unsafe in your config.toml
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
unsafe = true
- use blackfriday (the previous) as your default renderer
[markup]
defaultMarkdownHandler = "blackFriday"
see documentation
Thank you. Working fine now.
Reopening because this is a regression
I am facing the same issue with, for now I have fixed using "blackFriday" render