mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2025-09-15 12:58:48 +08:00
✨ feat: 增加頁面加載動畫preloader close #193 ✨ feat: 適配hexo-generator-indexed插件 ✨ feat: aside subtitle可配置,優先顯示配置內容、沒有的顯示頁面subtitle close #191 ✨ feat: aside card-tags可配置是否顯示顏色 ✨ feat: algolia-search highligh文字加深 ✨ feat: 增加頁面keywords設置 #191 ✨ feat: darkmode和readmode配色微調 🐛 fix: 修復hide-block 配置顏色顯示出錯的bug 🐛 fix: 修正zh-TW部分用語
25 lines
793 B
Plaintext
25 lines
793 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.preloader
|
|
!=partial('includes/loading/loading', {}, {cache:theme.fragment_cache})
|
|
|
|
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})
|
|
include includes/additional-js.pug
|