From dbb0e826b6572531d4c44bdb031d68207a906666 Mon Sep 17 00:00:00 2001 From: welpo Date: Thu, 19 Dec 2024 01:36:24 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20style:=20remove=20extra=20whites?= =?UTF-8?q?pace=20in=20post=20metadata?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Only happened with `minify_html = false`. --- templates/page.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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) -%}