SilentVoid13/Templater

Support for Folder Templates specific to subfolders

ct2034 opened this issue · 1 comments

I am not sure if #1409 is a duplicate. In case it is clarified there, feel free to close this one.
What I am intereseted in is the Folder Templates feature to suppurt subfolders.

To give an example:
I have a Folder structure like

Daily/2024/
Daily/2024/24-01/
Daily/2024/24-01/24-01-01.md
Daily/2024/24-01/24-01-02.md
Daily/2024/24-01/24-01-03.md

for my Daily notes.
And I create them with the Folder Templates feature, by seetting the Daily notes template for the Daily Folder.
But if I now additionally want to create monthly or yearly notes in the Daily/2024/ and Daily/2024/24-01/ respectivley, I would need a setting where the Daily template is only valid for folders Daily/*/*/*, Monthly only for Daily/*/* and yearly for Daily/*.

You should be able to do this with the new file regex templates feature.