Skip to content

Commit

Permalink
🐛 fix: add separator between update date & remote changes link
Browse files Browse the repository at this point in the history
  • Loading branch information
welpo committed Dec 23, 2024
1 parent 6810a0c commit 2cc336d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions templates/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ <h1 class="article-title">
{%- set last_updated_str = macros_translate::translate(key="last_updated_on", default="Updated on $DATE", language_strings=language_strings) -%}
{%- 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) -%}
{%- set previous_visible = true -%}
</ul><ul class="meta last-updated"><li>{{ updated_str }}</li>
{#- Show link to remote changes if enabled -#}
{%- if config.extra.remote_repository_url and macros_settings::evaluate_setting_priority(setting="show_remote_changes", page=page, default_global_value=true) == "true" -%}
Expand Down

0 comments on commit 2cc336d

Please sign in to comment.