From 389b1cdf46cff70ace0969d702028a5f36d4df63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E5=A4=952077?= <274166795@qq.com> Date: Sat, 28 Jun 2025 23:58:04 +0800 Subject: [PATCH] Update head-end.html --- layouts/partials/custom/head-end.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/layouts/partials/custom/head-end.html b/layouts/partials/custom/head-end.html index 7595aff..b860681 100644 --- a/layouts/partials/custom/head-end.html +++ b/layouts/partials/custom/head-end.html @@ -8,6 +8,7 @@ {{ end }} {{ end }} + +{{- if .Site.Params.ahrefsKey -}} + +{{- end -}} {{/* 只有在配置文件中设置了 clarityID 时,才输出这段脚本 */}} {{- if .Site.Params.clarityID -}} @@ -246,4 +250,4 @@ document.addEventListener('DOMContentLoaded', function() { {{- end }} -{{ "" | safeHTML }} \ No newline at end of file +{{ "" | safeHTML }}