make author and series details show in nav

This commit is contained in:
Sebastian Hugentobler 2024-05-06 18:34:03 +02:00
parent 17625f1be4
commit e6b3da8d17
Signed by: shu
GPG Key ID: BB32CF3CA052C2F0
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ pub async fn handler(
let mut context = Context::new(); let mut context = Context::new();
context.insert("title", &author.name); context.insert("title", &author.name);
context.insert("nav", &author.name); context.insert("nav", "authors");
context.insert("books", &books); context.insert("books", &books);
TEMPLATES TEMPLATES

View File

@ -25,7 +25,7 @@ pub async fn handler(
let mut context = Context::new(); let mut context = Context::new();
context.insert("title", &series.name); context.insert("title", &series.name);
context.insert("nav", &series.name); context.insert("nav", "series");
context.insert("books", &books); context.insert("books", &books);
TEMPLATES TEMPLATES