feat(blog_post): change location of updated date to be in the social metadata.

Requires the git_revision_date_localized plugin for it to function.

MR !2
This commit is contained in:
2022-01-25 11:26:38 +09:30
parent a9237c5950
commit 452fbe1225
2 changed files with 1 additions and 6 deletions

View File

@ -8,10 +8,4 @@
{% include "partials/blog_metadata.html" %}
<hr>
{{ page.content }}
{% if page and page.meta and (
page.meta.git_revision_date_localized or
page.meta.revision_date
) %}
{% include "partials/source-file.html" %}
{% endif %}
{% endblock %}

View File

@ -17,6 +17,7 @@
{% include ".icons/octicons/calendar-24.svg" %}
</span>
{{ page.meta.date.strftime("%Y-%m-%d") }} ·
{% if page.meta.git_revision_date_localized %}Updated {{ page.meta.git_revision_date_localized.replace("\n", "").replace("\r", "") }} <br>{% endif %}
<span class="twemoji">
{% include ".icons/octicons/clock-24.svg" %}
</span>