From d9aa97a276695313d51e74c43a9532da4a0e23d5 Mon Sep 17 00:00:00 2001 From: shiran <2488252513@qq.com> Date: Thu, 26 Feb 2026 15:06:40 +0800 Subject: [PATCH] =?UTF-8?q?refactor(common):=20=E5=B0=86head=5Ftag.html?= =?UTF-8?q?=E9=87=8D=E5=91=BD=E5=90=8D=E4=B8=BAhead=5Ftag.hbs=E5=B9=B6?= =?UTF-8?q?=E4=BF=9D=E7=95=99=E6=89=80=E6=9C=89=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 重命名文件扩展名从.html到.hbs以支持handlebars模板语法 - 保留原有的玻璃态效果选择器样式配置功能 - 保留原有的卡片项目选择器样式配置功能 - 保持浏览器兼容性检测脚本不变 - 确保所有条件渲染逻辑正常工作 --- common/head_tag.hbs | 37 +++++++++++++++++++++++++++++++++++++ common/head_tag.html | 29 ----------------------------- 2 files changed, 37 insertions(+), 29 deletions(-) create mode 100644 common/head_tag.hbs diff --git a/common/head_tag.hbs b/common/head_tag.hbs new file mode 100644 index 0000000..c97af7d --- /dev/null +++ b/common/head_tag.hbs @@ -0,0 +1,37 @@ + + +{{#if settings.extra_glass_morphism_selectors}} + +{{/if}} + +{{#if settings.extra_card_item_selectors}} + +{{/if}} diff --git a/common/head_tag.html b/common/head_tag.html index 0dfc39e..2e776cb 100644 --- a/common/head_tag.html +++ b/common/head_tag.html @@ -5,32 +5,3 @@ 'The Horizon theme does not support your browser. Please update your browser, or switch to safe mode.'; } -{{#if settings.extra_glass_morphism_selectors}} - -{{/if}} - -{{#if settings.extra_card_item_selectors}} - -{{/if}} \ No newline at end of file