mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-16 19:10:53 +08:00
feat: 升級facebook comment js 到 v10 fix: 修復當內容過少時, footer 沒有底部靠攏的bug improvement: 404頁面不再顯示 rightside
18 lines
495 B
Plaintext
18 lines
495 B
Plaintext
- var top_img = theme.error_404.background || theme.default_top_img
|
|
- var bg_img = `background-image: url('${url_for(top_img)}')`
|
|
|
|
#body-wrap.error404
|
|
div(style='display: none')
|
|
include ./header/index.pug
|
|
|
|
#error-wrap
|
|
.error-content
|
|
.error-img(style=bg_img)
|
|
.error-info
|
|
h1.error_title= '404'
|
|
.error_subtitle= theme.error_404.subtitle
|
|
a.button--animated(href=config.root)
|
|
i.fas.fa-rocket
|
|
= _p('error404.back_button')
|
|
|