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

fix: compatibility with newer Hugo version #110

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

paleboot
Copy link

@paleboot paleboot commented Oct 25, 2023

Hi, first of all thanks for the amazing site :D

While traversing I've found some seemingly broken sections of the page, e.g.

After tinkering around in local with a newer Hugo version (v0.119.0), I found that Hugo changed their markdown parse to https://github.com/yuin/goldmark, where they

By default, goldmark does not render raw HTML or potentially dangerous links. With this option, goldmark renders such content as written.

Assuming that the ones hosted on Netlify uses a version that changed Hugo's default parser to goldmark, this PR toggles the unsafe config to true to allow raw HTML in markdown.

In addition to that I had to fix the theme in accordance to newer Hugo's template API.

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

Successfully merging this pull request may close these issues.

None yet

1 participant