1
Fork 0
bauke-xyz/source/templates/mod.rs

15 lines
290 B
Rust
Raw Normal View History

2021-11-26 13:08:13 +00:00
use askama::Template;
#[derive(Debug, Template)]
#[template(path = "index.html")]
pub struct Index {
pub page_title: String,
}
#[derive(Debug, Template)]
#[template(path = "userstyles.html")]
pub struct Userstyles {
pub page_title: String,
pub styles: Vec<userstyles::Userstyle>,
}