added askama, base template and index

This commit is contained in:
2024-01-11 20:43:47 +01:00
parent f071a702af
commit ae1b65957d
9 changed files with 123 additions and 2 deletions

View File

@ -0,0 +1,9 @@
use askama::Template;
#[derive(Template)]
#[template(path = "index.html")]
pub struct IndexTemplate {}
pub async fn render_index() -> IndexTemplate {
IndexTemplate {}
}

View File

@ -0,0 +1 @@
pub mod index;