From 6774d3de7a9784cd7bf725e1c4957c8e9d2216db Mon Sep 17 00:00:00 2001 From: Vaica <94612053+zqlit@users.noreply.github.com> Date: Sun, 6 Apr 2025 14:37:21 +0800 Subject: [PATCH] 2025.04.06 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复bug --- themes/Ying/hugo.toml | 12 ++++++------ themes/Ying/static/js/tiaozhuan.js | 2 ++ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/themes/Ying/hugo.toml b/themes/Ying/hugo.toml index 56fb421d..3dcb62f3 100644 --- a/themes/Ying/hugo.toml +++ b/themes/Ying/hugo.toml @@ -18,12 +18,12 @@ description = "风吹云散,云卷云舒" # 社交链接列表 social = [ - # GitHub 链接和图标 - { title = "GitHub", url = "https://pan.usj.cc", icon = "ri-cloudy-2-line" }, - # Twitter 链接和图标 - { title = "Twitter", url = "https://space.bilibili.com/525472039", icon = "ri-bilibili-line" }, - # LinkedIn 链接和图标 - { title = "LinkedIn", url = "https://github.com/zqlit", icon = "ri-github-fill" }, + # GitHub + { title = "GitHub", url = "https://github.com/zqlit", icon = "ri-github-fill" }, + # 主页链接 + { title = "我的主页", url = "https://zql.im", icon = "ri-at-line" }, + # Rss订阅链接 + { title = "Rss订阅", url = "https://rss.usj.cc", icon = "ri-rss-fill" } ] [[menus.main]] diff --git a/themes/Ying/static/js/tiaozhuan.js b/themes/Ying/static/js/tiaozhuan.js index 8f409d68..f209b189 100644 --- a/themes/Ying/static/js/tiaozhuan.js +++ b/themes/Ying/static/js/tiaozhuan.js @@ -20,6 +20,8 @@ function checkParent(element, classNames) { !target.href.includes('douban.com') && !target.href.includes('bilibili.com') && !target.href.includes('github.com') && + !target.href.includes('zql.im') && + !target.href.includes('5b2.cn') && !target.href.includes('https://beian.miit.gov.cn') && !target.href.includes('https://www.upyun.com') && target.hostname !== window.location.hostname) {