其实这个页面很简单,但我个人喜欢干净的页面,所以觉得挺好
效果图

image

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
$ pwd
/e/GitHup_Data/Hexo_Blog
$ hexo new page 404
INFO Created: E:\GitHup_Data\Hexo_Blog\source\404\index.md
$ cd source/404/
$ cat index.md
title: 404 Not Found:该页无法显示
toc: false
comments: false
permalink: /404
---
<style type="text/css">
.article-header {
padding: 0;
padding-top: 26px;
border-left: none;
text-align: center;
}
.article-header:hover {
border-left: none;
}
.article-title {
font-size: 2.1em;
}
strong a {
color: #747474;
}
.article-meta {
display: none;
}
.share {
display: none;
}
.ds-meta {
display: none;
}
.player {
margin-left: -10px;
}
.sign {
text-align: right;
font-style: italic;
}
#page-visit {
display: none;
}
.center {
text-align: center;
height: 2.5em;
font-weight: bold;
}
.article-entry hr {
margin: 0;
}
.pic {
text-align: center;
margin: 0;
}
.pic br {
display: none;
}
#container .article-info-post.article-info {
display: none;
}
#container .article .article-title {
padding: 0;
}
</style>
1
2
$ hexo g
$ hexo d

本文出自”Jack Wang Blog”:http://www.yfshare.vip/2017/02/14/Hexo创建404页面/