diff options
author | Cara Salter <cara@devcara.com> | 2022-04-06 12:22:54 -0400 |
---|---|---|
committer | Cara Salter <cara@devcara.com> | 2022-04-06 12:22:54 -0400 |
commit | aef8039358b3d9f0cbd47dfa04ab3d24a2c05e5c (patch) | |
tree | 820961116cb84d98514877bc049003afc1e36e0c /src/blog/mod.rs | |
parent | c9b5f2c8bd5aa6ba00ae7d3a8935e0add429b110 (diff) | |
download | site-aef8039358b3d9f0cbd47dfa04ab3d24a2c05e5c.tar.gz site-aef8039358b3d9f0cbd47dfa04ab3d24a2c05e5c.zip |
flakes + projects
Diffstat (limited to 'src/blog/mod.rs')
-rw-r--r-- | src/blog/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blog/mod.rs b/src/blog/mod.rs index 811de15..ac1413e 100644 --- a/src/blog/mod.rs +++ b/src/blog/mod.rs @@ -14,7 +14,7 @@ pub mod handlers { pub async fn list(state: Arc<SiteState>) -> Result<impl Reply, Rejection> { let state = state.clone(); - Response::builder().html(|o| templates::bloglist_html(o, state.blog.clone())) + Response::builder().html(|o| templates::bloglist_html(o, state.blog.clone(), "Posts".into())) } pub async fn post(name: String, state: Arc<SiteState>) -> Result<impl Reply, Rejection> { |