everything ready !

This commit is contained in:
Agahnim 2026-03-19 14:38:27 +01:00
parent d1a2e411df
commit 0f1820d783
7 changed files with 44 additions and 1 deletions

10
src/templates/index.rs Normal file
View file

@ -0,0 +1,10 @@
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())
}