Well I took a look at the Discord Templater Channel and dumped my question in there, too there can never be too many clever minds thinking about a problem, right?
And there I was told that this is not possible because that type of code only works from the weekly notes, like you said as well.
So some suggested using real templater code and gave me an example to start with. And that almost worked, so we chatted some more and we finally got to this code, which used the entire weekly note’s contents and included that in my daily note.
<% tp.file.include(`[[${moment().format("YYYY-[W]WW")}]]`) %>
and that showed up beautifully. But, my rather still empty weekly template isn’t supposed to stay that empty with just links to every daily of the week. More will be added soon, and I only want that block with the linked weekdays included in my daily, not the entire weekly note.
And guess what? I figured out how to do that all by myself!!
so this:
<% tp.file.include(`[[${moment().format("YYYY-[W]WW#^{{date:YYYYMM}}w{{date:ww}}")}]]`) %>
does the trick!
#periodicnotes #templater #block-includes