🐛 修復當博客root不是'/'時,引用本地圖片會顯示不出的bug close #211

This commit is contained in:
Jerry
2020-04-28 15:31:14 +08:00
parent 91d285391d
commit 250181c569
10 changed files with 31 additions and 16 deletions

View File

@@ -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)