I am probably just stuck and unable to wrap my mind about the following issue, but I am positive that somebody can shed some light on it
I am building a company website, that is a mixture of plain information about the company + a showcase of already concluded projects. This showcase of projects is currently a page collection that shows a list of flashcards, one for each project (or simply imagine a page collection of blog posts, with one flashcard for each post, like in the blog skeleton).
So folders and markdown files are organized like this:
../user/pages/02.projects/projects.md (= simple page collection) ../user/pages/02.projects/first-project/details.md ../user/pages/02.projects/second-project/details.md ../user/pages/02.projects/third-project/details.md
Now, each project in its
details.md frontmatter has some taxonomy with an assigned category; for example,
third-project belong to
category: branding, while
second-project belongs to
projects.md is showing all projects, without distinguishing the category (and this works fine, with pagination and all).
I’d like to have an individually landing page for each category, so that for example I can get flashcards only for branding. For that I created
../user/pages/02.projects/branding/projects.md (= with taxonomy collection for branding)
That works well, too, except for the links in the pagination: instead of creating links like
project.url/projects/branding/page:2, the link to page 2 justs point to
branding), which leads to showing all projects from all categories, once I click a pagination link. I understand the technical reason for that, but this does not solve my problem of getting individual landing pages for each specific category.
Now, I just could work with
../user/pages/02.projects/projects.md and filters like
project.url/projects/category:branding, which solves the issues of links in pagination (link to second page is
project.url/projects/category:branding/page:2), but this would not allow me to have individual landing pages.
So, any good ideas on how to make this work? Just in case: one project could belong to different categories. E.g. forth-project could belong to category: [branding, website]
Thanks in advance!