We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Sample shortcodes in the content section of an archetype throw an error. For instance, my blog post archetype contains:
{{% spoiler %}} ... hidden content here... {{% /spoiler %}}
And in 0.24, hugo new post/doctor-who-10-10.md returns:
hugo new post/doctor-who-10-10.md
Error: Failed to parse archetype file "/Users/j.greely/dotclue/themes/mt2-theme/archetypes/post.md": template: post:69: unexpected "%" in command
The workaround is to break up the opening '{{' with any character, like '{X{'.
The text was updated successfully, but these errors were encountered:
create: Preserve shortcodes in archetype templates
2bde212
Fixes gohugoio#3623
2e4ccd3
Fixes #3623
b63e4ee
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Sample shortcodes in the content section of an archetype throw an error. For instance, my blog post archetype contains:
And in 0.24,
hugo new post/doctor-who-10-10.md
returns:The workaround is to break up the opening '{{' with any character, like '{X{'.
The text was updated successfully, but these errors were encountered: