alangrainger / obsidian-frontmatter-modified-date

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

Option to not add the modified property automatically. #2

Closed albertoloscerritos closed 1 year ago

albertoloscerritos commented 1 year ago

Hi, I like you plugin a lot. It's really useful. there is just one problem. If the plugin is enabled, every time I update a note, the modified date gets automatically added to the frontmatter. And sometimes I don't want frontmatter in certain notes or I simply don't want to know the modified date for a specific note.

Solution: Add an option to only add the modified property if the modified value is already present in the frontmatter, that way we avoid the property being added automatically to the frontmatter.

Thanks.

alangrainger commented 1 year ago

Added in 1.2.0:

https://github.com/alangrainger/obsidian-frontmatter-modified-date/releases/tag/1.2.0

albertoloscerritos commented 1 year ago

Thanks mate. Plugins like yours really help the community. 👍