From 991fd7a6d67ee017c57beaaa21fc31c4bee7944d Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Sat, 7 Oct 2023 06:48:07 +0800 Subject: feat(version): versions --- material/templates/partials/source-file.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 material/templates/partials/source-file.html (limited to 'material/templates/partials/source-file.html') diff --git a/material/templates/partials/source-file.html b/material/templates/partials/source-file.html new file mode 100644 index 00000000..ae5bd084 --- /dev/null +++ b/material/templates/partials/source-file.html @@ -0,0 +1,20 @@ +{#- + This file was automatically generated - do not edit +-#} +
+
+ + {% if page.meta.git_revision_date_localized %} + {{ lang.t("source.file.date.updated") }}: + {{ page.meta.git_revision_date_localized }} + {% if page.meta.git_creation_date_localized %} +
+ {{ lang.t("source.file.date.created") }}: + {{ page.meta.git_creation_date_localized }} + {% endif %} + {% elif page.meta.revision_date %} + {{ lang.t("source.file.date.updated") }}: + {{ page.meta.revision_date }} + {% endif %} +
+
-- cgit v1.2.3-70-g09d2