diff --git a/README.md b/README.md index c9d0854..6fd4a70 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,8 @@ themeConfig //主题配置 - [https://team.hackgence.com/](https://team.hackgence.com/) ## 更新日志 +### v2.0.5 +- 修复自定义头像不可用 ### v2.0.4 - 修复 `${fileName} ` 参数不可用 diff --git a/dist/themes/dark/app.js b/dist/themes/dark/app.js index 1c02e4b..bdb686a 100644 --- a/dist/themes/dark/app.js +++ b/dist/themes/dark/app.js @@ -66,7 +66,7 @@ function init() { <dir class="titleBar_container"> <div class="titleBar_avatar"> <a class="titleBar_item" href="/"> - <img src="https://cdn.jsdelivr.net/gh/5MayRain/ImageHosting/Blog/Website/avatar.png"> + <img src="${ThemeConfig.avatar}"> </a> </div> <div class="titleBar_nav"> diff --git a/dist/themes/light/app.js b/dist/themes/light/app.js index 7d839aa..1ee62e2 100644 --- a/dist/themes/light/app.js +++ b/dist/themes/light/app.js @@ -66,7 +66,7 @@ function init() { <dir class="titleBar_container"> <div class="titleBar_avatar"> <a class="titleBar_item" href="/"> - <img src="https://cdn.jsdelivr.net/gh/5MayRain/ImageHosting/Blog/Website/avatar.png"> + <img src="${ThemeConfig.avatar}"> </a> </div> <div class="titleBar_nav">