Skip to content

Custom homepage: build error when including an image/figure #810

Answered by wolfspyre
strauhmanis asked this question in Q&A
Discussion options

You must be logged in to vote

Hiya!

shortcodes are designed to be called from content components, (ie your markdown pages)
they’re not intended to be used from within partial templates, really…

https://discourse.gohugo.io/t/can-i-call-a-shortcode-from-a-partial/39043

hope this helps!

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by strauhmanis
Comment options

You must be logged in to vote
1 reply
@wolfspyre
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants