From d6126294bf27c93e0f05cbd3129e9b20493db6d0 Mon Sep 17 00:00:00 2001 From: Cara Salter Date: Mon, 28 Feb 2022 09:34:37 -0500 Subject: Nix and updated templates --- src/misc/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/misc/mod.rs') 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 { Response::builder().html(|o| templates::index_html(o)) } + + pub async fn about() -> Result { + Response::builder().html(|o| templates::about_html(o)) + } } -- cgit v1.2.3