Skip to content

Exclude frontmatter with tag #3055

Answered by claremacrae
kahboom asked this question in Q&A
Aug 29, 2024 · 1 comments · 7 replies
Discussion options

You must be logged in to vote

Yes, see this section of the docs:
https://publish.obsidian.md/tasks/Getting+Started/Obsidian+Properties#Do+not+show+any+tasks+from+files+with+a+specific+tag+in+frontmatter

So you could do:

filter by function ! task.file.property('tags').includes('#work')

It doesn't matter whether or not there is a space after the !.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@kahboom
Comment options

@claremacrae
Comment options

@kahboom
Comment options

@claremacrae
Comment options

@claremacrae
Comment options

Answer selected by kahboom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
scope: filters Additions and modifications to the search filters scope: scripting Issues to do with custom filters, custom sorting and similar
2 participants