I have a blog at GitHub - njmulsqb/njmulsqb.github.io: My Github Page It contains a list of all posts and a archive page, is there any way that I can hide some posts from the main listing, but at the same time I want them to be visible in archive?
The goal is to remove some of the posts from the primary posts page but not to remove them completely, it will stay in archive so that nobody ends up to 404 pages when hitting those old post links.
did you check the link above ash posted? by bill? it has an example of how to use a filter and that would work with any front matter variable - including tags I think though that might get a little complicated.
Try to do what is in the link above if it doesn’t work post the code you used for your use case as well as what a posts front matter looks like.