This works except within the PWA (which I don’t use, but tried after spotting it in my browser) and previously on edge/v1 when I was in online mode - in terms of the embeds not being evaluated, I mean.
No not yet, I need to figure out how to “escape” Lua directives.
This is actually pretty easy to do currently! You just need to play the “meta-game” on the higher level
${"$"}{date.today()}
This ${"$"} will execute while templating effectively putting it inside the rendered text. The rest is simple text that magically turns into inline query by addition of the missing ‘$’
Hey,
How can I replicate the “forPrefix” template behaviour of v1?
My use case is quite simple:
I have daily and weekly journaling
I have next/prev buttons which go to the proper daily/weekly note
The moment the page does not exist - templating is not triggered. “forPrefix” did the trick as it autoapplied the templates based on location. - I found some solve here - but I was wondering if it’ still that hacky? → Recreate the forPrefix hook in page templates - #7 by roberth
And a second bonus question - is there a way to have “#tags” at the start of the template. They always seem to be removed when template is evaluated - bug or feature? (I have to add them in the frontmatter to have tags in my templated pages)