Things I have tried
What I’m trying to do
I’m trying to get a count of pages that have a specific type, like a count of all recipes I have in Obsidian, but I need to exclude my Templates folder.
Here’s the count function that works, but includes the Template:
$=dv.pages().where(b => b.file.frontmatter.type == 'recipe').length;