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:
-blog
subblog 1
item 1
item 2
item 3
subblog 2
item 4
item 5
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
sitemap:
changefreq: monthly
priority: 1.03
content:
items: @self.children
order:
by: date
dir: desc
limit: 5
pagination: true
feed:
description: Sample Blog Description
limit: 10
pagination: true
# My Gravtastic Blog
## A tale of **awesomazing** adventures
---