Skip to content

Commit 22ffad9

Browse files
author
jinghao_wb
committed
[add] 404页面
1 parent e709941 commit 22ffad9

17 files changed

+539
-18
lines changed

blog/urls.py

-1
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,4 @@
2828
url(r'^detail/(?P<pk>\d+)$', views.detail, name='detail'),
2929
url(r'^search/$', views.search, name='search'),
3030
url(r'^tag/(?P<name>.*?)/$', views.tag, name='tag'),
31-
url(r'.*?$', views.Index, name='index'),
3231
]

static/404/css

+240
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,240 @@
1+
/* cyrillic-ext */
2+
@font-face {
3+
font-family: 'Ubuntu';
4+
font-style: italic;
5+
font-weight: 300;
6+
src: local('Ubuntu Light Italic'), local('Ubuntu-LightItalic'), url(http://fonts.gstatic.com/s/ubuntu/v10/4iCp6KVjbNBYlgoKejZftVyCN4Ffgg.woff2) format('woff2');
7+
unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;
8+
}
9+
/* cyrillic */
10+
@font-face {
11+
font-family: 'Ubuntu';
12+
font-style: italic;
13+
font-weight: 300;
14+
src: local('Ubuntu Light Italic'), local('Ubuntu-LightItalic'), url(http://fonts.gstatic.com/s/ubuntu/v10/4iCp6KVjbNBYlgoKejZftVyLN4Ffgg.woff2) format('woff2');
15+
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
16+
}
17+
/* greek-ext */
18+
@font-face {
19+
font-family: 'Ubuntu';
20+
font-style: italic;
21+
font-weight: 300;
22+
src: local('Ubuntu Light Italic'), local('Ubuntu-LightItalic'), url(http://fonts.gstatic.com/s/ubuntu/v10/4iCp6KVjbNBYlgoKejZftVyDN4Ffgg.woff2) format('woff2');
23+
unicode-range: U+1F00-1FFF;
24+
}
25+
/* greek */
26+
@font-face {
27+
font-family: 'Ubuntu';
28+
font-style: italic;
29+
font-weight: 300;
30+
src: local('Ubuntu Light Italic'), local('Ubuntu-LightItalic'), url(http://fonts.gstatic.com/s/ubuntu/v10/4iCp6KVjbNBYlgoKejZftVyMN4Ffgg.woff2) format('woff2');
31+
unicode-range: U+0370-03FF;
32+
}
33+
/* latin-ext */
34+
@font-face {
35+
font-family: 'Ubuntu';
36+
font-style: italic;
37+
font-weight: 300;
38+
src: local('Ubuntu Light Italic'), local('Ubuntu-LightItalic'), url(http://fonts.gstatic.com/s/ubuntu/v10/4iCp6KVjbNBYlgoKejZftVyBN4Ffgg.woff2) format('woff2');
39+
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
40+
}
41+
/* latin */
42+
@font-face {
43+
font-family: 'Ubuntu';
44+
font-style: italic;
45+
font-weight: 300;
46+
src: local('Ubuntu Light Italic'), local('Ubuntu-LightItalic'), url(http://fonts.gstatic.com/s/ubuntu/v10/4iCp6KVjbNBYlgoKejZftVyPN4E.woff2) format('woff2');
47+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
48+
}
49+
/* cyrillic-ext */
50+
@font-face {
51+
font-family: 'Ubuntu';
52+
font-style: italic;
53+
font-weight: 500;
54+
src: local('Ubuntu Medium Italic'), local('Ubuntu-MediumItalic'), url(http://fonts.gstatic.com/s/ubuntu/v10/4iCp6KVjbNBYlgoKejYHtFyCN4Ffgg.woff2) format('woff2');
55+
unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;
56+
}
57+
/* cyrillic */
58+
@font-face {
59+
font-family: 'Ubuntu';
60+
font-style: italic;
61+
font-weight: 500;
62+
src: local('Ubuntu Medium Italic'), local('Ubuntu-MediumItalic'), url(http://fonts.gstatic.com/s/ubuntu/v10/4iCp6KVjbNBYlgoKejYHtFyLN4Ffgg.woff2) format('woff2');
63+
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
64+
}
65+
/* greek-ext */
66+
@font-face {
67+
font-family: 'Ubuntu';
68+
font-style: italic;
69+
font-weight: 500;
70+
src: local('Ubuntu Medium Italic'), local('Ubuntu-MediumItalic'), url(http://fonts.gstatic.com/s/ubuntu/v10/4iCp6KVjbNBYlgoKejYHtFyDN4Ffgg.woff2) format('woff2');
71+
unicode-range: U+1F00-1FFF;
72+
}
73+
/* greek */
74+
@font-face {
75+
font-family: 'Ubuntu';
76+
font-style: italic;
77+
font-weight: 500;
78+
src: local('Ubuntu Medium Italic'), local('Ubuntu-MediumItalic'), url(http://fonts.gstatic.com/s/ubuntu/v10/4iCp6KVjbNBYlgoKejYHtFyMN4Ffgg.woff2) format('woff2');
79+
unicode-range: U+0370-03FF;
80+
}
81+
/* latin-ext */
82+
@font-face {
83+
font-family: 'Ubuntu';
84+
font-style: italic;
85+
font-weight: 500;
86+
src: local('Ubuntu Medium Italic'), local('Ubuntu-MediumItalic'), url(http://fonts.gstatic.com/s/ubuntu/v10/4iCp6KVjbNBYlgoKejYHtFyBN4Ffgg.woff2) format('woff2');
87+
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
88+
}
89+
/* latin */
90+
@font-face {
91+
font-family: 'Ubuntu';
92+
font-style: italic;
93+
font-weight: 500;
94+
src: local('Ubuntu Medium Italic'), local('Ubuntu-MediumItalic'), url(http://fonts.gstatic.com/s/ubuntu/v10/4iCp6KVjbNBYlgoKejYHtFyPN4E.woff2) format('woff2');
95+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
96+
}
97+
/* cyrillic-ext */
98+
@font-face {
99+
font-family: 'Ubuntu';
100+
font-style: normal;
101+
font-weight: 300;
102+
src: local('Ubuntu Light'), local('Ubuntu-Light'), url(http://fonts.gstatic.com/s/ubuntu/v10/4iCv6KVjbNBYlgoC1CzjvWyNL4U.woff2) format('woff2');
103+
unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;
104+
}
105+
/* cyrillic */
106+
@font-face {
107+
font-family: 'Ubuntu';
108+
font-style: normal;
109+
font-weight: 300;
110+
src: local('Ubuntu Light'), local('Ubuntu-Light'), url(http://fonts.gstatic.com/s/ubuntu/v10/4iCv6KVjbNBYlgoC1CzjtGyNL4U.woff2) format('woff2');
111+
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
112+
}
113+
/* greek-ext */
114+
@font-face {
115+
font-family: 'Ubuntu';
116+
font-style: normal;
117+
font-weight: 300;
118+
src: local('Ubuntu Light'), local('Ubuntu-Light'), url(http://fonts.gstatic.com/s/ubuntu/v10/4iCv6KVjbNBYlgoC1CzjvGyNL4U.woff2) format('woff2');
119+
unicode-range: U+1F00-1FFF;
120+
}
121+
/* greek */
122+
@font-face {
123+
font-family: 'Ubuntu';
124+
font-style: normal;
125+
font-weight: 300;
126+
src: local('Ubuntu Light'), local('Ubuntu-Light'), url(http://fonts.gstatic.com/s/ubuntu/v10/4iCv6KVjbNBYlgoC1Czjs2yNL4U.woff2) format('woff2');
127+
unicode-range: U+0370-03FF;
128+
}
129+
/* latin-ext */
130+
@font-face {
131+
font-family: 'Ubuntu';
132+
font-style: normal;
133+
font-weight: 300;
134+
src: local('Ubuntu Light'), local('Ubuntu-Light'), url(http://fonts.gstatic.com/s/ubuntu/v10/4iCv6KVjbNBYlgoC1CzjvmyNL4U.woff2) format('woff2');
135+
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
136+
}
137+
/* latin */
138+
@font-face {
139+
font-family: 'Ubuntu';
140+
font-style: normal;
141+
font-weight: 300;
142+
src: local('Ubuntu Light'), local('Ubuntu-Light'), url(http://fonts.gstatic.com/s/ubuntu/v10/4iCv6KVjbNBYlgoC1CzjsGyN.woff2) format('woff2');
143+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
144+
}
145+
/* cyrillic-ext */
146+
@font-face {
147+
font-family: 'Ubuntu';
148+
font-style: normal;
149+
font-weight: 500;
150+
src: local('Ubuntu Medium'), local('Ubuntu-Medium'), url(http://fonts.gstatic.com/s/ubuntu/v10/4iCv6KVjbNBYlgoCjC3jvWyNL4U.woff2) format('woff2');
151+
unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;
152+
}
153+
/* cyrillic */
154+
@font-face {
155+
font-family: 'Ubuntu';
156+
font-style: normal;
157+
font-weight: 500;
158+
src: local('Ubuntu Medium'), local('Ubuntu-Medium'), url(http://fonts.gstatic.com/s/ubuntu/v10/4iCv6KVjbNBYlgoCjC3jtGyNL4U.woff2) format('woff2');
159+
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
160+
}
161+
/* greek-ext */
162+
@font-face {
163+
font-family: 'Ubuntu';
164+
font-style: normal;
165+
font-weight: 500;
166+
src: local('Ubuntu Medium'), local('Ubuntu-Medium'), url(http://fonts.gstatic.com/s/ubuntu/v10/4iCv6KVjbNBYlgoCjC3jvGyNL4U.woff2) format('woff2');
167+
unicode-range: U+1F00-1FFF;
168+
}
169+
/* greek */
170+
@font-face {
171+
font-family: 'Ubuntu';
172+
font-style: normal;
173+
font-weight: 500;
174+
src: local('Ubuntu Medium'), local('Ubuntu-Medium'), url(http://fonts.gstatic.com/s/ubuntu/v10/4iCv6KVjbNBYlgoCjC3js2yNL4U.woff2) format('woff2');
175+
unicode-range: U+0370-03FF;
176+
}
177+
/* latin-ext */
178+
@font-face {
179+
font-family: 'Ubuntu';
180+
font-style: normal;
181+
font-weight: 500;
182+
src: local('Ubuntu Medium'), local('Ubuntu-Medium'), url(http://fonts.gstatic.com/s/ubuntu/v10/4iCv6KVjbNBYlgoCjC3jvmyNL4U.woff2) format('woff2');
183+
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
184+
}
185+
/* latin */
186+
@font-face {
187+
font-family: 'Ubuntu';
188+
font-style: normal;
189+
font-weight: 500;
190+
src: local('Ubuntu Medium'), local('Ubuntu-Medium'), url(http://fonts.gstatic.com/s/ubuntu/v10/4iCv6KVjbNBYlgoCjC3jsGyN.woff2) format('woff2');
191+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
192+
}
193+
/* cyrillic-ext */
194+
@font-face {
195+
font-family: 'Ubuntu';
196+
font-style: normal;
197+
font-weight: 700;
198+
src: local('Ubuntu Bold'), local('Ubuntu-Bold'), url(http://fonts.gstatic.com/s/ubuntu/v10/4iCv6KVjbNBYlgoCxCvjvWyNL4U.woff2) format('woff2');
199+
unicode-range: U+0460-052F, U+20B4, U+2DE0-2DFF, U+A640-A69F;
200+
}
201+
/* cyrillic */
202+
@font-face {
203+
font-family: 'Ubuntu';
204+
font-style: normal;
205+
font-weight: 700;
206+
src: local('Ubuntu Bold'), local('Ubuntu-Bold'), url(http://fonts.gstatic.com/s/ubuntu/v10/4iCv6KVjbNBYlgoCxCvjtGyNL4U.woff2) format('woff2');
207+
unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
208+
}
209+
/* greek-ext */
210+
@font-face {
211+
font-family: 'Ubuntu';
212+
font-style: normal;
213+
font-weight: 700;
214+
src: local('Ubuntu Bold'), local('Ubuntu-Bold'), url(http://fonts.gstatic.com/s/ubuntu/v10/4iCv6KVjbNBYlgoCxCvjvGyNL4U.woff2) format('woff2');
215+
unicode-range: U+1F00-1FFF;
216+
}
217+
/* greek */
218+
@font-face {
219+
font-family: 'Ubuntu';
220+
font-style: normal;
221+
font-weight: 700;
222+
src: local('Ubuntu Bold'), local('Ubuntu-Bold'), url(http://fonts.gstatic.com/s/ubuntu/v10/4iCv6KVjbNBYlgoCxCvjs2yNL4U.woff2) format('woff2');
223+
unicode-range: U+0370-03FF;
224+
}
225+
/* latin-ext */
226+
@font-face {
227+
font-family: 'Ubuntu';
228+
font-style: normal;
229+
font-weight: 700;
230+
src: local('Ubuntu Bold'), local('Ubuntu-Bold'), url(http://fonts.gstatic.com/s/ubuntu/v10/4iCv6KVjbNBYlgoCxCvjvmyNL4U.woff2) format('woff2');
231+
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
232+
}
233+
/* latin */
234+
@font-face {
235+
font-family: 'Ubuntu';
236+
font-style: normal;
237+
font-weight: 700;
238+
src: local('Ubuntu Bold'), local('Ubuntu-Bold'), url(http://fonts.gstatic.com/s/ubuntu/v10/4iCv6KVjbNBYlgoCxCvjsGyN.woff2) format('woff2');
239+
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
240+
}

static/404/email.png

400 Bytes
Loading

static/404/github.png

371 Bytes
Loading

static/404/google.png

440 Bytes
Loading

static/404/images/main-bg.png

96.3 KB
Loading

static/404/images/search.png

1.16 KB
Loading

static/404/images/tail.png

995 Bytes
Loading

static/404/jquery-1.11.0.min.js

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/404/plane.png

5.81 KB
Loading

0 commit comments

Comments
 (0)