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();
|
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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user