It seems that I do not understand the concept behind page collections at all?!
---
title: Test Multi-Collection
hide_git_sync_repo_link: false
items: '@self.children'
fruit:
items:
'@taxonomy.tag': [fruit]
---
Test for Multi-Collection
{% set default_collection = page.collection %}
{% set fruit_collection = page.collection('fruit') %}
I have now 3 articles tagged with “fruit”, but none of them show up at the collections page.
Is there ( in a theme/skeleton) a working example of page collections? It would be very helpful for me to see a working one to understand the concept behind it better
I ran into the same issue of broken links when using html tags within twig… more than a year later as you did, but I also don’t have a clue to solve that.
Sometimes a solution just appears quickly after asking the question…
You only have the problem of broken links, wenn the a-tag is surrounded by a div. A standalone div does not affect the link.
If you want to surround your link with a div or presumable even a paragraph, you have to process twig first (have a look at the “advanced” card of your page). Now it works properly
So, that one is done, searching for adding new options to p.menu, p.title and p.summary continues - any suggestions welcome…