add: customizable what slug
This commit is contained in:
parent
baef84adf9
commit
25579c5195
3 changed files with 6 additions and 2 deletions
|
@ -43,6 +43,10 @@ fn default_context(data: &DataClient) -> Context {
|
|||
&std::env::var("NAME").unwrap_or("Attobin".to_string()),
|
||||
);
|
||||
ctx.insert("tetratto", &data.host);
|
||||
ctx.insert(
|
||||
"what_page_slug",
|
||||
&std::env::var("WHAT_SLUG").unwrap_or("what".to_string()),
|
||||
);
|
||||
ctx
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue