From be8de118db913711eb72ae5187d26e54a0055727 Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Fri, 15 Dec 2023 09:11:47 +0800 Subject: refactor(docs): optmst `docs` dir & `deps` --- docs/src/templates/partials/source-file.html | 44 ++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 docs/src/templates/partials/source-file.html (limited to 'docs/src/templates/partials/source-file.html') diff --git a/docs/src/templates/partials/source-file.html b/docs/src/templates/partials/source-file.html new file mode 100644 index 00000000..928e35de --- /dev/null +++ b/docs/src/templates/partials/source-file.html @@ -0,0 +1,44 @@ + + + +
+
+ + + + {% 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