Shortcodes don’t seem to render shortcode values passed in as parameters:
I have a shortcode a.html:
{{ .Get "title" | markdownify }}
I call it with:
{{% a title="{{< logo >}}" %}}
The shortcode {{< logo >}}
renders my SVG logo everywhere else, but in the a
shortcode it just renders the literal text {{< logo >}}
.
If I indirect into a partial (so have a
call a-partial
, say), I can render the value there using | markdownify
and it works fine.
Is this a known limitation? Is there a nicer way to do this? I am starting to get ‘doubles’ of shortcode/partial pairs just so I can render my logo in shortcodes.