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.