Skip to main content

enabled

Function enabled 

Source
pub fn enabled(site_settings: &HashMap<String, Value>) -> bool
Expand description

Whether analytics is enabled for this render, from the prefetched SiteSetting scope→value map. Default on (inject unless the "analytics" row explicitly sets enabled: false).