update theme import
This commit is contained in:
parent
976fac973d
commit
cad3fc94c8
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue