Page templates in v2

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)