Use {{% tag for Markdown shortcode#85
Merged
progval merged 1 commit intocodemeta:masterfrom Oct 30, 2025
Merged
Conversation
`crosswalk` and `properties-description` are shortcodes defined in Markdown format (see: layouts/shortcodes ), so we need to use `{{% .. %}}` tag or Hugo will complain about "no compatible template found for shortcode".
Tested with Hugo v0.150.0
Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
Member
|
thanks Hugo 🙄 |
Contributor
|
This seems to have broken the rendering of the video on the jsonld page on the hugo that comes with debian trixie, which is ~131. It doesn't throw errors, just displays text on the page instead of a video embed. |
Member
|
It still works for me on Chromium 143.0.7499.40 and Firefox 140.5.0esr |
Contributor
|
Yeah I'm not entirely sure what's going on. I don't know when it started happening either, only noticed it yesterday, but I suspect when I recently reinstalled my dev env as trixie rather than upgraded bookworm. Once I did notice, no matter how I served it or which browser or OS I viewed it with, until I upgraded the hugo via the 8hob repo it was showing raw html unless I swapped the % back to < and >. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
crosswalkandproperties-descriptionare shortcodes defined in Markdown format (see: layouts/shortcodes ), so we need to use{{% .. %}}tag or (newer versions of) Hugo will complain about "no compatible template found for shortcode".Tested with Hugo v0.152.0 (latest, as of 30 Oct 2025) and v0.108.0 (as used in current CI).