alangrainger / obsidian-frontmatter-modified-date

Automatically update a frontmatter/YAML modified date field
MIT License
63 stars 10 forks source link

Exclude folders not working #9

Closed redactedscribe closed 11 months ago

redactedscribe commented 11 months ago

I have a folder named "Test" with a note inside of it. "Test" is also written in the "Exclude folders" option. Yet after 10 seconds, in this case, the front matter of the note is being deleted (probably because it contains Templater syntax and therefore not valid front matter).

Thanks.

alangrainger commented 11 months ago

Turns out that reading the frontmatter in Obsidian causes it to be overwritten. Thanks for noticing that issue 👍

Updated in 1.3.1 to use the cache instead.

redactedscribe commented 11 months ago

Thanks for the quick fix!