Skip to content

Commit

Permalink
rename option to post_listing_date
Browse files Browse the repository at this point in the history
  • Loading branch information
welpo committed Jun 17, 2024
1 parent fe77259 commit b380970
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/macros/list_posts.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
{% endif %}

<ul class="bloglist-meta">
{% if post.date and config.extra.bloglist_date == "date" or config.extra.bloglist_date == "both" %}
{% if post.date and config.extra.post_listing_date == "date" or config.extra.post_listing_date == "both" %}
<li class="date">{{ macros_format_date::format_date(date=post.date, short=false, language_strings=language_strings) }}</li>
{% endif %}
{% if post.updated and config.extra.bloglist_date == "updated" or config.extra.bloglist_date == "both" %}
{% if post.updated and config.extra.post_listing_date == "updated" or config.extra.post_listing_date == "both" %}
<li class="date">{{ macros_translate::translate(key="last_updated_on", default="Last updated on", language_strings=language_strings) }} {{ macros_format_date::format_date(date=post.updated, short=false, language_strings=language_strings) }}</li>
{% endif %}

Expand Down

0 comments on commit b380970

Please sign in to comment.