make author and series details show in nav
This commit is contained in:
parent
17625f1be4
commit
e6b3da8d17
2 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue