Templater
Templater copied to clipboard
Support front matter creation when using DB Folder
Currently when using Templater with the DB Folder plugin the DB Folder creates Front Matter first within a new note causing Templater not to trigger.
I would like to have an option to still trigger when file size is greater than 0 or when front matter is detected.
Thank you!
Oh if this is what you want, I think you can throw this in a PR. It's unlikely anyone will get to this soon.
ok, will do. Thanks.
I now realize I do not understand how to add this to a PR.
That's ok. A PR is a Pull Request. If know how to fix this issue, you can fork this repo, add you changes, and then do a pull request. The PR is a request for @SilentVoid13 to "pull" your changes from your fork to his repo.
I don't know how to do a PR but if you remove file.stat.size == 0
on line 3886 then it works with DB Folder
If this breaks other workflows would it be possible to add a setting that turns off this check for the Data Base Folder users.
Oh yes please this functionality would be awesome! People are trying to achieve THIS. I would be a bit nervous about just taking this line out with insight from @SilentVoid13 though. I assume it's there for a reason and would not want to break anyone else's workflows. Ideally, possibly a setting so you could turn this on/off might be a better solution.