pub trait SiteConfigExt: Sealed {
// Required methods
fn templates_branding(&self) -> SiteBranding;
fn templates_features(&self) -> SiteFeatures;
}Expand description
Extension trait for [SiteConfig] to construct SiteBranding and
SiteFeatures from it.
Required Methods§
Sourcefn templates_branding(&self) -> SiteBranding
fn templates_branding(&self) -> SiteBranding
Construct a SiteBranding from the [SiteConfig].
Sourcefn templates_features(&self) -> SiteFeatures
fn templates_features(&self) -> SiteFeatures
Construct a SiteFeatures from the [SiteConfig].