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 }}