I don’t think so. But if you think about this a bit, you can just move the shortcode into the partial that loads based on front matter. For instance, if you want to link your action to my_page.md, maybe just have a partial that relref to the front matter value. Make sense?
Of course that requires you standardize the actions.
Thanks for the tip!
For this very specific case it would work, but I’m working with more complex cases.
Landings are always the same components, so I have different blocks I use in all my themes. An example :
I express it in my front matter with:
---
blocks:
(... hero, etc)
- kind: benefits
id: benefits
title: Bulk up your focus
items:
- title: Practice
copy: "Learn to focus in 25 minutes blocks. It's simple and easy to measure."
image: /landing/exercise.png
... etc
---
Say I want to link another page, using relref in the copy fields, I can’t really standardize the actions here.