diff --git a/components/content/src/ser.rs b/components/content/src/ser.rs index 18e175f11..607d361de 100644 --- a/components/content/src/ser.rs +++ b/components/content/src/ser.rs @@ -161,6 +161,7 @@ pub struct SerializingSection<'a> { translations: Vec>, backlinks: Vec>, generate_feed: bool, + transparent: bool, } #[derive(Debug)] @@ -220,6 +221,7 @@ impl<'a> SerializingSection<'a> { assets: §ion.serialized_assets, lang: §ion.lang, generate_feed: section.meta.generate_feed, + transparent: section.meta.transparent, pages, subsections, translations, diff --git a/docs/content/documentation/templates/pages-sections.md b/docs/content/documentation/templates/pages-sections.md index b1394a509..99a067601 100644 --- a/docs/content/documentation/templates/pages-sections.md +++ b/docs/content/documentation/templates/pages-sections.md @@ -110,6 +110,8 @@ translations: Array; backlinks: Array<{permalink: String, title: String?}>; // Whether this section generates a feed or not. Taken from the front-matter if set generate_feed: bool; +// Whether this section is transparent. Taken from the front-matter if set +transparent: bool; ``` ## Table of contents