From f548a928a3e271891e16e811ebce4a997f96ef5b Mon Sep 17 00:00:00 2001 From: William Ouwehand Date: Fri, 16 Jun 2023 17:29:33 +0200 Subject: combine conditionals --- templates/macros/macros.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'templates/macros') diff --git a/templates/macros/macros.html b/templates/macros/macros.html index 34ab651..dd718e7 100644 --- a/templates/macros/macros.html +++ b/templates/macros/macros.html @@ -119,8 +119,7 @@ {%- macro footer(page) %} -{%- if page.reading_time %} -{%- if page.reading_time > 2 %} +{%- if page.reading_time and page.reading_time > 2 %}
{%- endif %} {%- endif %} -- cgit v1.3.1