I have this snippet:
div[data-path="Templates"],
div[data-path="Templates"] + div.nav-folder-children
{
display: none;
}
that hides the folder Templates
from my vault. However, this ONLY works if the Templates folder is in the root folder of the vault. If I have Templates in another folder, or I use nested vaults that also include a Templates folder I need to add a case of the above for each individual folder, e.g.
div[data-path="Folder B/Templates"],
div[data-path="Folder B/Templates"] + div.nav-folder-children
{
display: none;
}
so that Templates gets hidden in the root folder and Folder B
Is there some way for it to be something like data-path "include"= Template
so it would exclude all instances not just exactly specified ones?
Thanks