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:
Tim Vink
2019-12-11 10:46:03 +01:00
committed by Martin Donath
parent 633bcace14
commit f08f2fbf65
76 changed files with 175 additions and 35 deletions

View File

@@ -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" %}