diff --git a/templates/assets/js/halo.js b/templates/assets/js/halo.js index 54284d05..6023c537 100644 --- a/templates/assets/js/halo.js +++ b/templates/assets/js/halo.js @@ -379,13 +379,13 @@ let halo = { var data = getArrayItems(values, 1); let powerStar = document.getElementById("power-star") if (values.length===0){ - powerStar.href = "/" + powerStar.href = GLOBAL_CONFIG.source.power.powerLink powerStar.innerHTML = `
-
暂无赞赏,骚年请加油💪
-
更多支持,为爱发电
+
还没有人赞助~
+
为爱发电,点击赞助
`; }else { if (powerStar) { diff --git a/templates/modules/variables/site-config.html b/templates/modules/variables/site-config.html index f866c176..9beb872a 100644 --- a/templates/modules/variables/site-config.html +++ b/templates/modules/variables/site-config.html @@ -53,6 +53,7 @@ }, source: { power:{ + powerLink: [[${theme.config.sidebar.power.powerLink}]], url:[[${theme.config.sidebar.power.url}]], userId:[[${theme.config.sidebar.power.userId}]], showNum:[[${theme.config.sidebar.power.showNum}]] @@ -129,4 +130,4 @@ }; - \ No newline at end of file +