diff options
author | Cara Salter <cara@devcara.com> | 2022-02-28 09:34:37 -0500 |
---|---|---|
committer | Cara Salter <cara@devcara.com> | 2022-02-28 09:34:37 -0500 |
commit | d6126294bf27c93e0f05cbd3129e9b20493db6d0 (patch) | |
tree | 9643f07b01d05449ca9fdcfb5b9076b747f7a5e8 /src/misc/mod.rs | |
parent | a610350e7e012a790e63fb86cbcb61effb041105 (diff) | |
download | site-d6126294bf27c93e0f05cbd3129e9b20493db6d0.tar.gz site-d6126294bf27c93e0f05cbd3129e9b20493db6d0.zip |
Nix and updated templates
Diffstat (limited to 'src/misc/mod.rs')
-rw-r--r-- | src/misc/mod.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/misc/mod.rs b/src/misc/mod.rs index c2992cc..b5b3262 100644 --- a/src/misc/mod.rs +++ b/src/misc/mod.rs @@ -6,4 +6,8 @@ pub mod handlers { pub async fn index() -> Result<impl Reply, Rejection> { Response::builder().html(|o| templates::index_html(o)) } + + pub async fn about() -> Result<impl Reply, Rejection> { + Response::builder().html(|o| templates::about_html(o)) + } } |