2025.04.06

修复bug
This commit is contained in:
Vaica committed 2025-04-06 14:37:21 +08:00
1 parent de33ffc5ad
commit a842d0b42d
2 files changed
+8 -6

No files matched your search

+6 -6
View File
@@ -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]]
+2
View File
@@ -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) {