From b29690fba3f3b039d5a632e568402372b2bfef9b Mon Sep 17 00:00:00 2001 From: Vitaly Potyarkin Date: Fri, 29 Jun 2018 08:18:53 +0300 Subject: [PATCH] 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 --- templates/page.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/page.html b/templates/page.html index f19d61f..2414549 100644 --- a/templates/page.html +++ b/templates/page.html @@ -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 %}