Hi, this is kinda dumb, but I’m trying to avoid using a template here if possible.
This is the opposite of several people that wanted to use shortcodes in frontmatter.
I have some content that uses a particular url multiple times, as in
[route](link)
{{< figure attrlink="https://example.com" ... >}}
[link]: https://example.com
It would be super cool if I could have simply defined “link” in my frontmatter
so it wouldn’t have to be explicitly written multiple times in my content.
like:
---
mylink: https://example.com
---
[route]( $link )
{{< figure attrlink=$link ... >}}
Is there anyway to expand frontmatter in markdown itself (including parameters to shortcakes) without going to partials or templates?