Merge branch 'main' of ssh://git.hofer.link:2222/philipp/aef-website

This commit is contained in:
Marie Birner
2025-08-03 09:52:54 +02:00
6 changed files with 359 additions and 7 deletions

View File

@@ -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 "