diff options
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> { |