templates
This commit is contained in:
parent
37eaccd80e
commit
2c1793a128
12 changed files with 496 additions and 26 deletions
|
|
@ -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,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue