diff --git a/peach-web/src/templates/nav.rs b/peach-web/src/templates/nav.rs index 221aa6b..98136c4 100644 --- a/peach-web/src/templates/nav.rs +++ b/peach-web/src/templates/nav.rs @@ -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 { // 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() {