Merge branch 'main' of ssh://git.hofer.link:2222/philipp/aef-website
This commit is contained in:
@@ -5,8 +5,11 @@ use maud::{html, Markup};
|
||||
|
||||
pub(super) async fn index(cookies: CookieJar, headers: HeaderMap) -> Markup {
|
||||
let lang = language(&cookies, &headers);
|
||||
|
||||
rust_i18n::set_locale(lang.to_locale());
|
||||
|
||||
new(html! {
|
||||
h1 { "Digital Shadows" }
|
||||
h1 { (t!("digital_shadows")) }
|
||||
hgroup {
|
||||
h2 {
|
||||
"Who owns your "
|
||||
|
Reference in New Issue
Block a user