Skip to content

Commit

Permalink
fixup on revised and published date
Browse files Browse the repository at this point in the history
Show always publication date and when a file has been updated, the revision date as well
  • Loading branch information
prushh committed Jan 17, 2024
1 parent 7e13235 commit 57c719a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions blog/overrides/partials/source-file.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@

<p class="md-source-file">
<strong>
{% if page.meta.git_creation_date_localized == page.meta.git_revision_date_localized%}
Published on:
{{ page.meta.git_creation_date_localized }}
{% else %}
Published on:
{{ page.meta.git_creation_date_localized }}
{% if page.meta.git_creation_date_localized != page.meta.git_revision_date_localized%}
,&nbsp;
Revised on:
{{ page.meta.git_revision_date_localized }}
{% endif %}
Expand Down

0 comments on commit 57c719a

Please sign in to comment.