aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/templates.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/templates.rs b/src/templates.rs
index 66462eb..b4ea98d 100644
--- a/src/templates.rs
+++ b/src/templates.rs
@@ -29,6 +29,13 @@ pub struct Home {
}
#[derive(Template)]
+#[template(path = "about.html")]
+pub struct About {
+ pub title: String,
+ pub locale: Locale,
+}
+
+#[derive(Template)]
#[template(path = "blogpost.html")]
pub struct Blogpost {
pub title: String,