Rendering content with shortcode
Hello, I have got some yaml data files which contains some page content e.g. content: '# foo {{< myshortcode >}}' I try to run .Site.Data.mydatafile.content | markdownify but the shortcode is...
View ArticleRendering content with shortcode
You’re supposed to call your shortcodes from your content files. It seems as though you’re trying to call the shortcode from your layouts template. The docs say that shortcodes should only be called...
View ArticleRendering content with shortcode
Yes, shortcodes are currently not processed when you run markdownify. Read full topic
View ArticleRendering content with shortcode
My problem is, that I have multiple content files which contains equal sections and I would like to store these sections once and would like to include it into the content file. So I would like to...
View ArticleRendering content with shortcode
You could handle it in your templates. Say you had a front matter param includeContent. If that’s true, then include the content. There are many other ways to do this too. Read full topic
View ArticleRendering content with shortcode
I use includes a lot in my writing and while learning Hugo, I’ve done a lot of experiments trying to figure out the best way to do this. My solution is to write my content in AsciiDoc format because...
View Article