mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-10-04 06:22:00 +08:00
🐛 修復當博客root不是'/'時,引用本地圖片會顯示不出的bug close #211
This commit is contained in:
1 parent
91d285391d
commit
250181c569
10 files changed
+31
-16
No files matched your search
@@ -35,7 +35,15 @@ git clone -b dev https://github.com/jerryc127/hexo-theme-butterfly.git themes/Bu
|
||||
|
||||
## Documentation
|
||||
|
||||
Find in [hexo-theme-butterfly docs](https://docs.jerryc.me) and [JerryC](https://jerryc.me/posts/21cfbf15). it supports `zh-TW`
|
||||
Find in [hexo-theme-butterfly docs](https://docs.jerryc.me) and [JerryC](https://jerryc.me/posts/21cfbf15). it supports `zh-TW` and `zh-CN`
|
||||
|
||||
You can also join the Chat Group.
|
||||
|
||||
[ 💬 Join QQ Group [recommend]](https://jq.qq.com/?_wv=1027&k=5KI3Jqb)
|
||||
|
||||
[ 💬 Join Telegram Group](https://t.me/hexo_butterfly)
|
||||
|
||||
|
||||
|
||||
## Screenshots
|
||||
|
||||
|
||||
@@ -36,7 +36,14 @@ theme: Butterfly
|
||||
|
||||
可查看[hexo-theme-butterfly docs](https://docs.jerryc.me) 和 [JerryC](https://jerryc.me/posts/21cfbf15)
|
||||
|
||||
你也可以加入群組
|
||||
|
||||
[ 💬 QQ群 [推薦]](https://jq.qq.com/?_wv=1027&k=5KI3Jqb)
|
||||
|
||||
[ 💬Telegram群](https://t.me/hexo_butterfly)
|
||||
|
||||
## 截圖
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
- var top_img = theme.error_404.background || theme.default_top_img
|
||||
- var bg_img = `background-image: url(${top_img})`
|
||||
- var bg_img = `background-image: url(${url_for(top_img)})`
|
||||
|
||||
doctype html
|
||||
html(lang=config.language data-theme=theme.display_mode)
|
||||
|
||||
Loaded 3 of 10 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user