Replace Rocket and Tera with Rouille and Maud #88

Merged
glyph merged 67 commits from rouille_maud into main 2022-03-25 08:07:15 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit cad3fc94c8 - Show all commits

View File

@ -1,6 +1,6 @@
use maud::{html, PreEscaped};
use crate::utils;
use crate::utils::theme;
/// Navigation template builder.
///
@ -11,7 +11,7 @@ pub fn build_template(
back: Option<&str>,
) -> PreEscaped<String> {
// retrieve the current theme value
let theme = utils::get_theme();
let theme = theme::get_theme();
// conditionally render the hermies icon and theme-switcher icon with correct link
let (hermies, switcher) = match theme.as_str() {