I’ve just tried out the PageDecoration. I find that you have to place the tag at tags frontmatter to make it work, the decoration won’t show if you specify as following:
Not really. This is not specific to decorations. The tag of a page is always page, it’s the tags attribute that contains the tags. And = on a list attribute checks if the value is contains within. So tags = "person" is what you’re looking for.
So I can’t change the tag attribute via frontmatter right? I thought it was the attribute exposed to customize the type of pages for something like OOP style thing.
I’d have to check what happens exactly when you try, but I wouldn’t recommend it. Consider tag a hardcoded attribute that’s page for pages (and item for list items, task for tasks etc.)