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)