templates

This commit is contained in:
Pascal Engélibert 2026-03-03 15:15:18 +01:00
commit 2c1793a128
12 changed files with 496 additions and 26 deletions

View file

@ -3,3 +3,9 @@ use trillium_askama::Template;
#[derive(Template)]
#[template(path = "home.html")]
pub struct Home {}
#[derive(Template)]
#[template(path = "repo.html")]
pub struct Repo {
pub content: String,
}