mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-07-22 05:53:03 -04:00
Added support for mkdocs-git-revision-date-localized-plugin (#1373)
* #1350 update base template to include git revision date * #1350 add localized revision date * #1350 support for v0.3 of mkdocs-git-revision-date-localized-plugin * #1350 add translations for source.revision.date
This commit is contained in:
@@ -180,6 +180,15 @@
|
||||
</a>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% if page.meta.git_revision_date_localized %}
|
||||
<small>
|
||||
{{ lang.t('last.update') }}: {{ page.meta.git_revision_date_localized }}
|
||||
</small>
|
||||
{% elif page.meta.revision_date %}
|
||||
<small>
|
||||
{{ lang.t('last.update') }}: {{ page.meta.revision_date }}
|
||||
</small>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block disqus %}
|
||||
{% include "partials/integrations/disqus.html" %}
|
||||
|
||||
Reference in New Issue
Block a user