diff options
| author | 2026-01-01 21:34:04 +0100 | |
|---|---|---|
| committer | 2026-01-01 21:34:04 +0100 | |
| commit | 7c14130b61d806b42e7c0d1c8cf846b964caadff (patch) | |
| tree | 911525b06dfa96b5902e5b765e9e7c842cf6b909 /src/templates.rs | |
| parent | c65bc67e161e5bb4a5bf153476d0252c165ad6ce (diff) | |
| download | blossom-7c14130b61d806b42e7c0d1c8cf846b964caadff.tar.gz blossom-7c14130b61d806b42e7c0d1c8cf846b964caadff.tar.bz2 blossom-7c14130b61d806b42e7c0d1c8cf846b964caadff.zip | |
about page
Diffstat (limited to '')
| -rw-r--r-- | src/templates.rs | 7 |
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, |
