use askama::Template; use axum::response::{Html, IntoResponse}; #[derive(Template)] #[template(path = "index.html")] struct IndexTemplate; pub async fn home() -> impl IntoResponse { Html(IndexTemplate.render().unwrap()) }