feat(main): Add support for Tera templates
Sets up the structure required to carry Tera templates in the actix-web state. The (still very barebones) index renderer has been updated to render a Tera template.
This commit is contained in:
parent
b83dd99e30
commit
3db069c60d
5 changed files with 44 additions and 16 deletions
|
|
@ -1,6 +1,6 @@
|
|||
use chrono::prelude::{DateTime, Utc};
|
||||
|
||||
#[derive(Queryable)]
|
||||
#[derive(Queryable, Serialize)]
|
||||
pub struct Thread {
|
||||
pub id: i32,
|
||||
pub title: String,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue