Skip to content

Commit

Permalink
fix: no need updated on if same day as publish
Browse files Browse the repository at this point in the history
  • Loading branch information
TrebledJ committed Nov 16, 2023
1 parent a29ee29 commit c6e7be3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/post/metadata.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<div class="d-flex flex-row align-items-center">
{% block post_metadata_updated %}
{% set updatedDate = lastContentCommit | maxDate(updated) %}
{% if updatedDate %}
{% if updatedDate and updatedDate != page.date %}
<span class="post-updated-date-icon">
<i class="fa fa-calendar post-meta-icon me-1"></i>
</span>
Expand Down

0 comments on commit c6e7be3

Please sign in to comment.