make author and series details show in nav
This commit is contained in:
parent
17625f1be4
commit
e6b3da8d17
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user