aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-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 %}