Fix variable name in page template (#30)
The variable was incorrectly pasted as `article` which made rendering pages impossible. Thanks to @kloppen for triaging and suggesting the fix. Fixes #29
This commit is contained in:
parent
360e98e609
commit
b29690fba3
1 changed files with 2 additions and 2 deletions
|
@ -21,8 +21,8 @@
|
|||
{% else %}
|
||||
{% set selected_cover = SITEURL+"/"+HEADER_COVER %}
|
||||
{% endif %}
|
||||
{% elif article.color %}
|
||||
{% set selected_color = article.color %}
|
||||
{% elif page.color %}
|
||||
{% set selected_color = page.color %}
|
||||
{% elif HEADER_COLOR %}
|
||||
{% set selected_color = HEADER_COLOR %}
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue