it would be nice to have a front-matter variable for sections that sets metadata for all pages recursively
use case 1: consider a
drafts/_index.md might look like:
+++ [all] draft = true +++
use case 2: consider a
blog/ folder, with a
rust/ folder inside.
blog/rust/_index.md might look like:
+++ [all.taxonomies] tags = ["rust"] +++
there is a drawback: if you want to tag a post
web, you’d have to write
use case 3: consider a website using
extra to define each page’s navigation.
extra.nav is an array of tables, each table defining
blog/_index.md could look like:
+++ [[all.extra.nav]] name = "back" url = "/blog/" +++
currently, some section variables apply to all pages, but most don’t.
all would help making a distinction:
page_templatecould be obsoleted in favour of
in_search_indexcould be obsoleted in favour of
all.in_search_index, and later reintroduced to apply to the section page itself, but not its child pages