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/content.html | 54 ++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) create mode 100644 docs/src/templates/partials/content.html (limited to 'docs/src/templates/partials/content.html') diff --git a/docs/src/templates/partials/content.html b/docs/src/templates/partials/content.html new file mode 100644 index 00000000..2b78b09b --- /dev/null +++ b/docs/src/templates/partials/content.html @@ -0,0 +1,54 @@ + + + +{% if "material/tags" in config.plugins and tags %} + {% include "partials/tags.html" %} +{% endif %} + + +{% include "partials/actions.html" %} + + +{% if "\x3ch1" not in page.content %} +

{{ page.title | d(config.site_name, true)}}

+{% endif %} + + +{{ page.content }} + + +{% if page.meta and ( + page.meta.git_revision_date_localized or + page.meta.revision_date +) %} + {% include "partials/source-file.html" %} +{% endif %} + + +{% include "partials/feedback.html" %} + + +{% include "partials/comments.html" %} -- cgit v1.2.3-70-g09d2