hexo-theme-butterfly/layout/404.pug
Jerry eb11e4afeb 🐛 修復POST-META關閉閲讀分鐘和訪問量後,評論量前有分割線的bug
🐛 修復canvas_ribbon透明度變為1再變回預設值bug
🐛 修復當default_cover沒設置時,會出現無圖片的bug
🎨 部分js調整
2020-04-02 22:16:01 +08:00

23 lines
772 B
Plaintext

- var top_img = theme.error_404.background || theme.default_top_img
- var bg_img = `background-image: url(${top_img})`
doctype html
html(lang=config.language data-theme=theme.display_mode)
head
include includes/head.pug
body
if theme.fireworks && theme.fireworks.enable
canvas.fireworks
include includes/mobile-sidebar/index.pug
nav#nav.error-no-found(style=bg_img)
include includes/header/header.pug
#error_info.is-center
h1#error_title= '404'
#error_subtitle= theme.error_404.subtitle
include includes/rightside.pug
!=partial('includes/search/index', {}, {cache:theme.fragment_cache})
!=fragment_cache('my_js', function(){return my_html('js',theme.CDN_USE.js)})
include includes/additional-js.pug