diff options
author | cel 🌸 <cel@blos.sm> | 2024-02-12 01:39:00 +0000 |
---|---|---|
committer | cel 🌸 <cel@blos.sm> | 2024-02-12 01:39:00 +0000 |
commit | 2b8623fde242d379c66e4c532f7cad0dbb2198aa (patch) | |
tree | d875588258b57998a1e089a17124e21e9632059b /src/templates.rs | |
parent | 82ef62654f58eb6212fad1beb3adb2c1c979fb56 (diff) | |
download | blossom-2b8623fde242d379c66e4c532f7cad0dbb2198aa.tar.gz blossom-2b8623fde242d379c66e4c532f7cad0dbb2198aa.tar.bz2 blossom-2b8623fde242d379c66e4c532f7cad0dbb2198aa.zip |
add language select widget
Diffstat (limited to 'src/templates.rs')
-rw-r--r-- | src/templates.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/templates.rs b/src/templates.rs index 2ab9c41..66462eb 100644 --- a/src/templates.rs +++ b/src/templates.rs @@ -2,9 +2,9 @@ use std::collections::HashSet; use askama::Template; use poem::http::StatusCode; -use poem::i18n::Locale; use rand::{thread_rng, Rng}; +use crate::i18n::Locale; use crate::poetry; use crate::posts::Post; use crate::{blog, scrobbles::NowPlayingData}; |