Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Add config.cascade
This commit adds support for using the `cascade` keyword in your configuration file(s), e.g. `config.toml`. Note that * Every feature of `cascade` is available, e.g. `_target` to target specific page sets. * Pages, e.g. the home page, can overwrite the cascade defined in config. Fixes #8741
- Loading branch information
Showing
with
129 additions
and 32 deletions.
- +1 −1 config/defaultConfigProvider.go
- +65 −0 hugolib/cascade_test.go
- +3 −0 hugolib/content_map_page.go
- +4 −28 hugolib/page__meta.go
- +19 −3 hugolib/site.go
- +37 −0 resources/page/page_matcher.go