I am making heavy use of templates for different note types, and of course I am using tags in these templates. I’d like Obsidian to not count these tags in the tag overview.
Ideally Obsidian would simply ignore known templates or whole template folders when counting tags.
Specifically for archived, daily, or fleeting notes too depending on the workflow. There are some good suggestions in the thread detailing how to ignore specific folders that could be applied for tags.
Hi,
I am new here - absoluty stunned by this great tool - but templates in Graph View and Tag-Search are “obscuring” everything for me. I’m a bit weirded out by this, as it somehow doesn’t quite fit with the rest of the polished features.
I just stumbled upon this post because I had the same problem. It looked especially weird because I’m using Templater to fill in some of the tags, so I had entries full of “<%tp…”.
If you’re using the Templater plugin, there is at least a functional workaround available:
In your YAML header, use Templater to consciously scramble the YAML syntax in one way or the other. Just one syntax error, and your entire YAML header will not count towards tags. Example:
In fact, it’s a pretty good idea.
To a better things, I do another things : I add tabulation to all frontmatter. So I need to just select the frontmatter, shift+tab and \o/
Hi, I am struggling to implement the mentioned workaround in my YAML front matter to exclude Templater codes from showing up in my Tags panel… can anyone help?
Hi, is there any update regarding the original question of this post?
Excluding arbitrary locations from tag counting as an option in the settings under core-plugin Tags, where then one can specify a list of folders to exclude, would be the most intuitive and flexible solution in my opinion
The reason it show on your tags is becausa it is in YAML format, sooo… you just have to trick the template to only become YAML when it is used. Like this:
Note Template
<%"---"%>
Tags: Hello
---
Now when you use the template it will “become” YAML and thus, get recognized as a tag!