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:
@ -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 %}
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user