diff --git a/README.md b/README.md index 5e988832..0b27b226 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@
-[主题预览](#-预览) | [快速上手](#-安装) | [使用文档](https://docs.liuzhihang.com) | [加入我们](#-讨论) +[主题预览](#-预览) | [快速上手](#-安装) | [使用文档](https://www.yuque.com/liuzhihangs/halo-theme-hao) | [加入我们](#-讨论)
diff --git a/templates/assets/js/heo.js b/templates/assets/js/heo.js index 1872d21e..47711224 100644 --- a/templates/assets/js/heo.js +++ b/templates/assets/js/heo.js @@ -77,7 +77,6 @@ var heo = { htmlText += `${item.spec.displayName}`; } htmlText += `更多` - document.getElementById("friend-links-in-footer").innerHTML = htmlText; if(document.getElementById("friend-links-in-footer")){ document.getElementById("friend-links-in-footer").innerHTML = htmlText; } diff --git a/templates/assets/zhheo/blogex.js b/templates/assets/zhheo/blogex.js index 96c227a8..74b2c735 100644 --- a/templates/assets/zhheo/blogex.js +++ b/templates/assets/zhheo/blogex.js @@ -660,6 +660,7 @@ function initBlog() { heo.stopImgRightDrag(), heo.onlyHome(), heo.addNavBackgroundInit(), + heo.reflashEssayWaterFall(), heo.darkModeStatus(), heo.initThemeColor(), //隐藏加载动画 @@ -859,8 +860,13 @@ document.addEventListener('pjax:send', function () { heo.showLoading(); } -}) -document.addEventListener('DOMContentLoaded', function () { - heo.reflashEssayWaterFall() + }) +document.addEventListener('DOMContentLoaded', function () { + //页脚友联 + if(GLOBAL_CONFIG.isFriendLinksInFooter){ + heo.addFriendLinksInFooter() + } + heo.reflashEssayWaterFall() +}) diff --git a/templates/moments.html b/templates/moments.html index 6af2524e..33ccd50d 100644 --- a/templates/moments.html +++ b/templates/moments.html @@ -62,7 +62,6 @@ -