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]: exampleSite fails with latest hugo version 0.112.5 #179

Closed
deining opened this issue May 29, 2023 · 1 comment
Closed

[bug]: exampleSite fails with latest hugo version 0.112.5 #179

deining opened this issue May 29, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@deining
Copy link
Contributor

deining commented May 29, 2023

Steps that lead to the issue

From the root of shadocs repo:

cd exampleSite
hugo server

An error is thrown:

Error: error building site: "/home/andreas/shadocs/exampleSite/content/english/shortcodes/snippet.md:69:13": failed to render shortcode "snippet": failed to process shortcode: "/home/andreas/shadocs/layouts/shortcodes/snippet.html:115:89": execute of template failed: template: shortcodes/snippet.html:115:89: executing "getSnippetContent" at <.context.Page.RenderString>: error calling RenderString: "/home/andreas/shadocs/exampleSite/content/english/shortcodes/snippet.md:1:1": failed to parse Markdown attributes; you may need to quote the values

Expected behavior

No error, site should be served.

Reproducer

This this failed deployment log on Netlify, belonging to #178.

Solution?

This is most likely related to this open isssue in the repo of Hugo SSG. You may wait for a fix or implement a workaround.

@deining deining added the bug Something isn't working label May 29, 2023
@jgazeau
Copy link
Owner

jgazeau commented May 30, 2023

Hi @deining ,
I've made a fix for that, you also bump the hugo version to 0.112.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants