diff --git a/templates/page.html b/templates/page.html
index dedaa8b05..e4c18b5a2 100644
--- a/templates/page.html
+++ b/templates/page.html
@@ -151,10 +151,10 @@
{% endif %}
{#- Reading time -#}
- {% if macros_settings::evaluate_setting_priority(setting="show_reading_time", page=page, default_global_value=true) == "true" %}
+ {%- if macros_settings::evaluate_setting_priority(setting="show_reading_time", page=page, default_global_value=true) == "true" -%}
{%- if previous_visible -%}{{ separator_with_class | safe }}{%- endif -%}{{ macros_translate::translate(key="min_read", number=page.reading_time, default="$NUMBER min read", language_strings=language_strings) }}
{%- set previous_visible = true -%}
- {% endif %}
+ {%- endif -%}
{#- Tags -#}
{%- if page.taxonomies and page.taxonomies.tags -%}
@@ -175,10 +175,10 @@
{%- set formatted_date = macros_format_date::format_date(date=page.updated, short=true, language_strings=language_strings) -%}
{%- set updated_str = last_updated_str | replace(from="$DATE", to=formatted_date) -%}