I am trying to understand how I can setup sub folders and how to control that the parent folder can see items from subfolders. So for example, let’s take the Blog Skeleton example. Say I wanted to have:
when I view /blog it should show: item 1 - item 5
when I view /blog/subblog 1 it should show : item1-item3
when I view /blog/tag:birds it should show any item in subblog folder with tag=birds
when I view /blog/subblog 1/tag:birds it should show only subblog1 items with that tag=birds
How do I do this? It almost works with the default skeleton, but on the /blog page I see ‘subblog’ as an item. So how do I tell the difference from a ‘subfolder’ and a real ‘item’? Is this controlled by the TWIG or how I define the collection?
In the /blog/blog.md file:
title: Blogs
blog_url: blog
body_classes: header-image fullwidth
You really need to paste these types of things between triple backticks (click the question mark in the forum text input box for help). I really can’t make any sense of your example structure because there are no indents.
when I view /blog it should show: item 1 – item 5 (that are items of a subfolder)
when I view /blog/subblog 1 it should show : item1-item3
when I view /blog/tag:birds it should show any item in subblog folder with tag=birds
when I view /blog/subblog 1/tag:birds it should show only subblog1 items with that
When the pages are processed, it creates a taxonomy mapping for every page and their taxonomies. So it will find pages based on taxonomy no matter where they are in your site.
What does the page header of your /blog/subblog1/item1/item.md file contain (or whatever it is called).