I want to be able to use a hashtag to hide a given post from EVERYWHERE on the site, including archive lists.
I’ve used the tag #privatenewsletter in the past to keep emailed posts from showing, and it has worked. However, I now have a post (not an email), and even though it has the tag, it still shows up on both the home page and the archives page.
Here’s my routes.yaml:
routes:
/subscribe/: members/subscribe
/signup/: members/signup
/signin/: members/signin
/account/: members/account
/archive/:
controller: channel
template: archive
collections:
/:
permalink: /{slug}/
template: home
filter: tag:-hash-privatenewsletter
/newsletter/:
permalink: /{slug}/
template: index
filter: tag:hash-privatenewsletter
taxonomies:
tag: /tag/{slug}/
author: /author/{slug}/
What am I doing wrong?