Hello, I have tried following this, but it does not seem to be working.
Here’s my routes.yml:
routes:
collections:
/:
permalink: /{slug}/
template: index
filter: 'tag:-hash-de'
/de/:
permalink: /de/{slug}/
template: index-de
filter: 'tag:hash-de'
taxonomies:
tag: /tag/{slug}/
author: /author/{slug}/
On the main page I only want to be able to see English content, but a German article (with #de
) tag is visible:
Similarly, on the /de
page both articles are visible, even the English one:
(I can’t embed two images, here’s the other one: https://ibb.co/jT4cvGb )
I don’t really know what I did wrong (I spend like two hours playing around with different tags), help would greatly be appreciated.