Hi! I use the built-in template engine for daily notes, which leads to having files including frontmatter like:
date: {{date:YYYY-MM-DD}}
But this doesn't parse, because python-frontmatter uses SafeLoader for the YAML loader, and it tries to make these into mappings/embeddings. I'm wondering if it would be possible to have an option to either exclude some directories when creating Notes at the root level of a vault, or to have a allow_errors (or something) option such that if it's set to True it would either skip adding those notes to the Notes object or add them without their metadata.
(On the other hand, perhaps I am doing something very wrong here in having these template variables? But that seems like it's unrelated to py-obsidianmd :smile: )
Hi! I use the built-in template engine for daily notes, which leads to having files including frontmatter like:
But this doesn't parse, because
python-frontmatter
usesSafeLoader
for the YAML loader, and it tries to make these into mappings/embeddings. I'm wondering if it would be possible to have an option to either exclude some directories when creatingNotes
at the root level of a vault, or to have aallow_errors
(or something) option such that if it's set toTrue
it would either skip adding those notes to theNotes
object or add them without their metadata.(On the other hand, perhaps I am doing something very wrong here in having these template variables? But that seems like it's unrelated to
py-obsidianmd
:smile: )