From 17bc811c72f0c662e30dfebd77d0900f7abe26b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BA=BF=E7=B2=92=E4=BD=93XianlitiCN?= Date: Wed, 4 Feb 2026 13:27:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=95=B0=E5=AD=A6=E6=94=AF?= =?UTF-8?q?=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/partials/extend_head.html | 7 +++++++ layouts/partials/math.html | 19 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 layouts/partials/extend_head.html create mode 100644 layouts/partials/math.html diff --git a/layouts/partials/extend_head.html b/layouts/partials/extend_head.html new file mode 100644 index 0000000..4b8a684 --- /dev/null +++ b/layouts/partials/extend_head.html @@ -0,0 +1,7 @@ +{{- /* Head custom content area start */ -}} +{{- /* Insert any custom code (web-analytics, resources, etc.) - it will appear in the section of every page. */ -}} +{{- /* Can be overwritten by partial with the same name in the global layouts. */ -}} +{{- /* Head custom content area end */ -}} +{{ if or .Params.math .Site.Params.math }} +{{ partial "math.html" . }} +{{ end }} diff --git a/layouts/partials/math.html b/layouts/partials/math.html new file mode 100644 index 0000000..74daba5 --- /dev/null +++ b/layouts/partials/math.html @@ -0,0 +1,19 @@ + + + + \ No newline at end of file