mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-12 14:07:06 +08:00
🐛 修復當博客root不是'/'時,引用本地圖片會顯示不出的bug close #211
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user