This post lives in a section, but scope site puts it on the main blog as well.
Scopes Demo
A live, self-contained example of scopes. This folder holds a small main blog (this page) with a section blog inside it, and three example posts:
txt
plugins/blog/demo/
index.md main blog (scope: site), limited to this folder
example-unsorted-post.md blog: true no section blog covers it
team/
index.md section blog
example-section-post.md blog: true stays in the team blog
example-site-post.md blog: { scope: site } in both blogsThis page is a main blog, so it lists the site-wide example and the unsorted one, but not the section-only one. The team blog lists both of its own posts.
Its frontmatter limits it to this folder with folders, so the examples stay off the real BinaryNoir blog:
yaml
blog-index:
scope: site
folders: ./
layout: gridBoth demo blogs have their own feed: this one and the team blog's.
This post has no scope setting, and no section blog covers its folder, so it falls to the main blog.