aboutsummaryrefslogtreecommitdiff
path: root/templates/macros/macros.html
diff options
context:
space:
mode:
authorWilliam Ouwehand2023-06-16 17:29:33 +0200
committerWilliam Ouwehand2023-06-16 17:29:33 +0200
commitf548a928a3e271891e16e811ebce4a997f96ef5b (patch)
tree0cbf9724e803d71760d4e0dcfab4247b2ac4634c /templates/macros/macros.html
parent28052596836f4c8ca823cfa5a904a6a48f2965a4 (diff)
downloadabridge-f548a928a3e271891e16e811ebce4a997f96ef5b.tar.gz
abridge-f548a928a3e271891e16e811ebce4a997f96ef5b.tar.bz2
abridge-f548a928a3e271891e16e811ebce4a997f96ef5b.zip
combine conditionals
Diffstat (limited to 'templates/macros/macros.html')
-rw-r--r--templates/macros/macros.html3
1 files changed, 1 insertions, 2 deletions
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 %}
<p><b><a href="#">Back to top</a></b></p>
{%- endif %}
{%- endif %}