diff --git a/rusty-library/src/handlers/author.rs b/rusty-library/src/handlers/author.rs index 4363462..bfaffdb 100644 --- a/rusty-library/src/handlers/author.rs +++ b/rusty-library/src/handlers/author.rs @@ -29,7 +29,7 @@ pub async fn handler( let mut context = Context::new(); context.insert("title", &author.name); - context.insert("nav", &author.name); + context.insert("nav", "authors"); context.insert("books", &books); TEMPLATES diff --git a/rusty-library/src/handlers/series_single.rs b/rusty-library/src/handlers/series_single.rs index 8e37e2d..764afe4 100644 --- a/rusty-library/src/handlers/series_single.rs +++ b/rusty-library/src/handlers/series_single.rs @@ -25,7 +25,7 @@ pub async fn handler( let mut context = Context::new(); context.insert("title", &series.name); - context.insert("nav", &series.name); + context.insert("nav", "series"); context.insert("books", &books); TEMPLATES