aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates.rs
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@bunny.garden>2026-01-01 21:34:04 +0100
committerLibravatar cel 🌸 <cel@bunny.garden>2026-01-01 21:34:04 +0100
commit7c14130b61d806b42e7c0d1c8cf846b964caadff (patch)
tree911525b06dfa96b5902e5b765e9e7c842cf6b909 /src/templates.rs
parentc65bc67e161e5bb4a5bf153476d0252c165ad6ce (diff)
downloadblossom-7c14130b61d806b42e7c0d1c8cf846b964caadff.tar.gz
blossom-7c14130b61d806b42e7c0d1c8cf846b964caadff.tar.bz2
blossom-7c14130b61d806b42e7c0d1c8cf846b964caadff.zip
about page
Diffstat (limited to 'src/templates.rs')
-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,