-
-
Notifications
You must be signed in to change notification settings - Fork 172
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
frontmatter: resemble documented shortcode style #672
Comments
Thanks for pointing this out. While the usage of I decided for not using positional parameters even for the simplest shortcode, because the snippets are used to auto generate the shortcode calls in your pages. If you later edit a page without the help of the VSCode front-matter extension, it should clearly communicate what each parameter does. I also added the missing |
Thanks for every time you explain the internals, I don't know Hugo/Go language apart from playing with your theme but being a developer I love to understand things. |
Hello,
Sorry for not being sure whether it's a bug or a regression over time, but in the following file https://github.com/McShelby/hugo-theme-relearn/blob/main/vscode-frontmatter/snippets.en.json and also snippets.de.json I noticed a typo: I see many "body" contents starting and ending with
{{<
and>}}
rather than{{%
and%}}
.Can you fix this?
Another (useful?) thing, the include snippet would uses shorter syntax, similar to your exampleSite :
{{% include "basics/CHANGELOG.md" true %}}
rather than{{% include file="basics/CHANGELOG.md" hidefirstheading="true" %}}
Using Hugo Extended 0.119.
The text was updated successfully, but these errors were encountered: