Skip to main content

set_active_theme

Function set_active_theme 

Source
pub async fn set_active_theme(db: &Db, code: &str) -> Result<(), ThemeError>
Expand description

Makes code the site’s theme. The theme must exist.