Hexo博客搭建坑
Hexo博客出现“Cannot GET/tags or categories”错误
hexo next 主题优化 | 这里可能有你遇到所有问题的答案 - 少数派 (sspai.com)
HEXO 配置 reward
(1条消息) Hexo 搭建:配置打赏功能_平凡的人类的博客-CSDN博客
设置运行天数
- 目录:
themes\next\layout\_partials\footer.njk
- 修改:
{{- next_inject('footer') }}
之前加入1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21{%- if theme.footer.runtime %}
<div>
<span id="timeDate">运行天数...</span><span id="times">载入时分秒...</span>
<script>
var now = new Date();
function createtime() {
var grt= new Date("10/2/2022 00:00:00");//在此处修改你的建站时间
now.setTime(now.getTime()+250);
days = (now - grt ) / 1000 / 60 / 60 / 24; dnum = Math.floor(days);
hours = (now - grt ) / 1000 / 60 / 60 - (24 * dnum); hnum = Math.floor(hours);
if(String(hnum).length ==1 ){hnum = "0" + hnum;} minutes = (now - grt ) / 1000 /60 - (24 * 60 * dnum) - (60 * hnum);
mnum = Math.floor(minutes); if(String(mnum).length ==1 ){mnum = "0" + mnum;}
seconds = (now - grt ) / 1000 - (24 * 60 * 60 * dnum) - (60 * 60 * hnum) - (60 * mnum);
snum = Math.round(seconds); if(String(snum).length ==1 ){snum = "0" + snum;}
document.getElementById("timeDate").innerHTML = "已运行 "+dnum+" 天 ";
document.getElementById("times").innerHTML = hnum + " 小时 " + mnum + " 分 " + snum + " 秒";
}
setInterval("createtime()",250);
</script>
</div>
{%- endif %} - 修改配置文件 themes\next_config.yml
1
2
3footer:
# 运行时间
runtime: true
不蒜子统计
不蒜子 - 极简网页计数器 (ibruce.info)
网站访问量统计 | hexo - 灰信网(软件开发博客聚合) (freesion.com)
进度条
Hexo之NexT主题中设置加载进度条 - 代码先锋网 (codeleading.com)
自动彩色彩条背景
zproo/canvas-ribbon: 简单一条命令为你的网页添加canvas-ribbon背景彩带。 效果展示: (github.com)
侧边栏目录展开
主题配置文件:
1 | toc: |
显示直接回到文章开头
配置:
1 | back2top: |
自定义随机点击颜色样式:
1 | // 回到顶部样式 |
文章底部 && 边栏开启CopyRight
1 | creative_commons: |
文章开源协议介绍:
别闹,来学习各种开源协议哪个适合你! - 嘉立创EDA开源硬件平台 (oshwhub.com)
首页文章自动截取more
chekun/hexo-excerpt: Automatic excerpt generator for Hexo (github.com)
- 使用npm安装hexo-excerpt
1
npm install hexo-excerpt --save
- 在站点配置文件中添加
1
2
3
4
5excerpt:
depth: 5
excerpt_excludes: []
more_excludes: []
hideWholePostExcerpts: true
移动设备适应
修改:next/_config.yml
1 | mobile_layout_economy: true |
自定义404
Hexo折腾系列——自定义404页面 - 灰信网(软件开发博客聚合) (freesion.com)
tarampampam/error-pages: 🚧 Pretty server’s error pages in the docker image & git repository (github.com)
hexo n page "404"
- 在生成的
source/i404/index.md
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823---
title: 404
date: 2022-10-04 20:42:11
layout: false
comments: false
permalink: /404
---
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="robots" content="noindex, nofollow" />
<title>not found</title>
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<link rel="preconnect" href="https://fonts.bunny.net" crossorigin />
<link rel="dns-prefetch" href="https://fonts.bunny.net" />
<link
rel="icon"
href="https://aikuai.baiyz.top:7899/favicon.ico"
type="image/x-icon"
/>
<link
href="https://fonts.bunny.net/css?family=nunito+sans"
rel="stylesheet"
/>
<style>
/** codepen: https://codepen.io/kdbkapsere/pen/onxlbqq */
:root {
--color-bg-primary: #fff;
--color-text-primary: #0e0620;
--color-ui-bg-primary: #0e0620;
--color-ui-bg-inverted: #fff;
}
@media (prefers-color-scheme: dark) {
:root {
--color-bg-primary: #212121;
--color-text-primary: #fafafa;
--color-ui-bg-primary: #fafafa;
--color-ui-bg-inverted: #212121;
}
}
html,
body {
height: 100%;
background-color: var(--color-bg-primary);
color: var(--color-text-primary);
font-family: 'nunito sans', sans-serif;
margin: 0;
padding: 0;
font-size: 0;
}
body {
align-items: center;
display: flex;
justify-content: center;
height: 100vh;
}
main {
width: 100%;
max-width: 1140px;
display: flex;
justify-content: space-between;
}
.picture,
.content {
box-sizing: border-box;
width: 50%;
}
.content {
padding: 0 40px;
}
svg .dark {
stroke: var(--color-ui-bg-primary);
}
svg .fill-dark {
fill: var(--color-ui-bg-primary);
}
svg .fill-light {
fill: var(--color-ui-bg-inverted);
}
h1 {
font-size: 150px;
margin: 15px 0;
font-weight: bold;
}
h2 {
font-size: 32px;
font-weight: bold;
}
p {
font-size: 16px;
}
/* */
@media screen and (max-width: 768px) {
main {
display: block;
}
.picture,
.content {
width: 100%;
text-align: center;
}
.content {
padding: 0 20px;
}
.picture svg {
max-width: 60%;
}
}
</style>
</head>
<body>
<main>
<div class="picture">
<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 800 600">
<g>
<defs>
<clippath id="glassclip">
<path
d="m380.857,346.164c-1.247,4.651-4.668,8.421-9.196,10.06c-9.332,3.377-26.2,7.817-42.301,3.5 s-28.485-16.599-34.877-24.192c-3.101-3.684-4.177-8.66-2.93-13.311l7.453-27.798c0.756-2.82,3.181-4.868,6.088-5.13 c6.755-0.61,20.546-0.608,41.785,5.087s33.181,12.591,38.725,16.498c2.387,1.682,3.461,4.668,2.705,7.488l380.857,346.164z"
/>
</clippath>
<clippath id="cordclip">
<rect width="800" height="600" />
</clippath>
</defs>
<g id="planet">
<circle
fill="none"
stroke-width="3"
stroke-miterlimit="10"
cx="572.859"
cy="108.803"
r="90.788"
class="dark"
/>
<circle
id="craterbig"
fill="none"
stroke-width="3"
stroke-miterlimit="10"
cx="548.891"
cy="62.319"
r="13.074"
class="dark"
/>
<circle
id="cratersmall"
fill="none"
stroke-width="3"
stroke-miterlimit="10"
cx="591.743"
cy="158.918"
r="7.989"
class="dark"
/>
<path
id="ring"
fill="none"
stroke-width="3"
stroke-linecap="round"
stroke-miterlimit="10"
class="dark"
d="m476.562,101.461c-30.404,2.164-49.691,4.221-49.691,8.007c0,6.853,63.166,12.408,141.085,12.408s141.085-5.555,141.085-12.408c0-3.378-15.347-4.988-40.243-7.225"
/>
<path
id="ringshadow"
opacity="0.5"
fill="none"
class="dark"
stroke-width="3"
stroke-linecap="round"
stroke-miterlimit="10"
d="m483.985,127.43c23.462,1.531,52.515,2.436,83.972,2.436c36.069,0,68.978-1.19,93.922-3.149"
/>
</g>
<g id="stars">
<g id="starsbig">
<g>
<line
fill="none"
class="dark"
stroke-width="3"
stroke-linecap="round"
stroke-miterlimit="10"
x1="518.07"
y1="245.375"
x2="518.07"
y2="266.581"
/>
<line
fill="none"
class="dark"
stroke-width="3"
stroke-linecap="round"
stroke-miterlimit="10"
x1="508.129"
y1="255.978"
x2="528.01"
y2="255.978"
/>
</g>
<g>
<line
fill="none"
class="dark"
stroke-width="3"
stroke-linecap="round"
stroke-miterlimit="10"
x1="154.55"
y1="231.391"
x2="154.55"
y2="252.598"
/>
<line
fill="none"
class="dark"
stroke-width="3"
stroke-linecap="round"
stroke-miterlimit="10"
x1="144.609"
y1="241.995"
x2="164.49"
y2="241.995"
/>
</g>
<g>
<line
fill="none"
class="dark"
stroke-width="3"
stroke-linecap="round"
stroke-miterlimit="10"
x1="320.135"
y1="132.746"
x2="320.135"
y2="153.952"
/>
<line
fill="none"
class="dark"
stroke-width="3"
stroke-linecap="round"
stroke-miterlimit="10"
x1="310.194"
y1="143.349"
x2="330.075"
y2="143.349"
/>
</g>
<g>
<line
fill="none"
class="dark"
stroke-width="3"
stroke-linecap="round"
stroke-miterlimit="10"
x1="200.67"
y1="483.11"
x2="200.67"
y2="504.316"
/>
<line
fill="none"
class="dark"
stroke-width="3"
stroke-linecap="round"
stroke-miterlimit="10"
x1="210.611"
y1="493.713"
x2="190.73"
y2="493.713"
/>
</g>
</g>
<g id="starssmall">
<g>
<line
fill="none"
class="dark"
stroke-width="3"
stroke-linecap="round"
stroke-miterlimit="10"
x1="432.173"
y1="380.52"
x2="432.173"
y2="391.83"
/>
<line
fill="none"
class="dark"
stroke-width="3"
stroke-linecap="round"
stroke-miterlimit="10"
x1="426.871"
y1="386.175"
x2="437.474"
y2="386.175"
/>
</g>
<g>
<line
fill="none"
class="dark"
stroke-width="3"
stroke-linecap="round"
stroke-miterlimit="10"
x1="489.555"
y1="299.765"
x2="489.555"
y2="308.124"
/>
<line
fill="none"
class="dark"
stroke-width="3"
stroke-linecap="round"
stroke-miterlimit="10"
x1="485.636"
y1="303.945"
x2="493.473"
y2="303.945"
/>
</g>
<g>
<line
fill="none"
class="dark"
stroke-width="3"
stroke-linecap="round"
stroke-miterlimit="10"
x1="231.468"
y1="291.009"
x2="231.468"
y2="299.369"
/>
<line
fill="none"
class="dark"
stroke-width="3"
stroke-linecap="round"
stroke-miterlimit="10"
x1="227.55"
y1="295.189"
x2="235.387"
y2="295.189"
/>
</g>
<g>
<line
fill="none"
class="dark"
stroke-width="3"
stroke-linecap="round"
stroke-miterlimit="10"
x1="244.032"
y1="547.539"
x2="244.032"
y2="555.898"
/>
<line
fill="none"
class="dark"
stroke-width="3"
stroke-linecap="round"
stroke-miterlimit="10"
x1="247.95"
y1="551.719"
x2="240.113"
y2="551.719"
/>
</g>
<g>
<line
fill="none"
class="dark"
stroke-width="3"
stroke-linecap="round"
stroke-miterlimit="10"
x1="186.359"
y1="406.967"
x2="186.359"
y2="415.326"
/>
<line
fill="none"
class="dark"
stroke-width="3"
stroke-linecap="round"
stroke-miterlimit="10"
x1="190.277"
y1="411.146"
x2="182.44"
y2="411.146"
/>
</g>
<g>
<line
fill="none"
class="dark"
stroke-width="3"
stroke-linecap="round"
stroke-miterlimit="10"
x1="480.296"
y1="406.967"
x2="480.296"
y2="415.326"
/>
<line
fill="none"
class="dark"
stroke-width="3"
stroke-linecap="round"
stroke-miterlimit="10"
x1="484.215"
y1="411.146"
x2="476.378"
y2="411.146"
/>
</g>
</g>
<g id="circlesbig">
<circle
fill="none"
class="dark"
stroke-width="3"
stroke-linecap="round"
stroke-miterlimit="10"
cx="588.977"
cy="255.978"
r="7.952"
/>
<circle
fill="none"
class="dark"
stroke-width="3"
stroke-linecap="round"
stroke-miterlimit="10"
cx="450.066"
cy="320.259"
r="7.952"
/>
<circle
fill="none"
class="dark"
stroke-width="3"
stroke-linecap="round"
stroke-miterlimit="10"
cx="168.303"
cy="353.753"
r="7.952"
/>
<circle
fill="none"
class="dark"
stroke-width="3"
stroke-linecap="round"
stroke-miterlimit="10"
cx="429.522"
cy="201.185"
r="7.952"
/>
<circle
fill="none"
class="dark"
stroke-width="3"
stroke-linecap="round"
stroke-miterlimit="10"
cx="200.67"
cy="176.313"
r="7.952"
/>
<circle
fill="none"
class="dark"
stroke-width="3"
stroke-linecap="round"
stroke-miterlimit="10"
cx="133.343"
cy="477.014"
r="7.952"
/>
<circle
fill="none"
class="dark"
stroke-width="3"
stroke-linecap="round"
stroke-miterlimit="10"
cx="283.521"
cy="568.033"
r="7.952"
/>
<circle
fill="none"
class="dark"
stroke-width="3"
stroke-linecap="round"
stroke-miterlimit="10"
cx="413.618"
cy="482.387"
r="7.952"
/>
</g>
<g id="circlessmall">
<circle class="fill-dark" cx="549.879" cy="296.402" r="2.651" />
<circle class="fill-dark" cx="253.29" cy="229.24" r="2.651" />
<circle class="fill-dark" cx="434.824" cy="263.931" r="2.651" />
<circle class="fill-dark" cx="183.708" cy="544.176" r="2.651" />
<circle class="fill-dark" cx="382.515" cy="530.923" r="2.651" />
<circle class="fill-dark" cx="130.693" cy="305.608" r="2.651" />
<circle class="fill-dark" cx="480.296" cy="477.014" r="2.651" />
</g>
</g>
<g id="spaceman" clip-path="url(cordclip)">
<path
id="cord"
fill="none"
class="dark"
stroke-width="3"
stroke-linecap="round"
stroke-linejoin="round"
stroke-miterlimit="10"
d="m273.813,410.969c0,0-54.527,39.501-115.34,38.218c-2.28-0.048-4.926-0.241-7.841-0.548c-68.038-7.178-134.288-43.963-167.33-103.87c-0.908-1.646-1.793-3.3-2.654-4.964c-18.395-35.511-37.259-83.385-32.075-118.817"
/>
<path
id="backpack"
class="dark fill-light"
stroke-width="3"
stroke-linecap="round"
stroke-linejoin="round"
stroke-miterlimit="10"
d="m338.164,454.689l-64.726-17.353c-11.086-2.972-17.664-14.369-14.692-25.455l15.694-58.537c3.889-14.504,18.799-23.11,33.303-19.221l52.349,14.035c14.504,3.889,23.11,18.799,19.221,33.303l-15.694,58.537c360.647,451.083,349.251,457.661,338.164,454.689z"
/>
<g id="antenna">
<line
class="dark fill-light"
stroke-width="3"
stroke-linecap="round"
stroke-linejoin="round"
stroke-miterlimit="10"
x1="323.396"
y1="236.625"
x2="295.285"
y2="353.753"
/>
<circle
class="dark fill-light"
stroke-width="3"
stroke-linecap="round"
stroke-linejoin="round"
stroke-miterlimit="10"
cx="323.666"
cy="235.617"
r="6.375"
/>
</g>
<g id="armr">
<path
class="dark fill-light"
stroke-width="3"
stroke-linecap="round"
stroke-linejoin="round"
stroke-miterlimit="10"
d="m360.633,363.039c1.352,1.061,4.91,5.056,5.824,6.634l27.874,47.634c3.855,6.649,1.59,15.164-5.059,19.02l0,0c-6.649,3.855-15.164,1.59-19.02-5.059l-5.603-9.663"
/>
<path
class="dark fill-light"
stroke-width="3"
stroke-linecap="round"
stroke-linejoin="round"
stroke-miterlimit="10"
d="m388.762,434.677c5.234-3.039,7.731-8.966,6.678-14.594c2.344,1.343,4.383,3.289,5.837,5.793c4.411,7.596,1.829,17.33-5.767,21.741c-7.596,4.411-17.33,1.829-21.741-5.767c-1.754-3.021-2.817-5.818-2.484-9.046c375.625,437.355,383.087,437.973,388.762,434.677z"
/>
</g>
<g id="arml">
<path
class="dark fill-light"
stroke-width="3"
stroke-linecap="round"
stroke-linejoin="round"
stroke-miterlimit="10"
d="m301.301,347.66c-1.702,0.242-5.91,1.627-7.492,2.536l-47.965,27.301c-6.664,3.829-8.963,12.335-5.134,18.999h0c3.829,6.664,12.335,8.963,18.999,5.134l9.685-5.564"
/>
<path
class="dark fill-light"
stroke-width="3"
stroke-linecap="round"
stroke-linejoin="round"
stroke-miterlimit="10"
d="m241.978,395.324c-3.012-5.25-2.209-11.631,1.518-15.977c-2.701-0.009-5.44,0.656-7.952,2.096c-7.619,4.371-10.253,14.09-5.883,21.71c4.371,7.619,14.09,10.253,21.709,5.883c3.03-1.738,5.35-3.628,6.676-6.59c252.013,404.214,245.243,401.017,241.978,395.324z"
/>
</g>
<g id="body">
<path
class="dark fill-light"
stroke-width="3"
stroke-linecap="round"
stroke-linejoin="round"
stroke-miterlimit="10"
d="m353.351,365.387c-7.948,1.263-16.249,0.929-24.48-1.278c-8.232-2.207-15.586-6.07-21.836-11.14c-17.004,4.207-31.269,17.289-36.128,35.411l-1.374,5.123c-7.112,26.525,8.617,53.791,35.13,60.899l0,0c26.513,7.108,53.771-8.632,60.883-35.158l1.374-5.123c371.778,395.999,365.971,377.536,353.351,365.387z"
/>
<path
fill="none"
class="dark"
stroke-width="3"
stroke-linecap="round"
stroke-linejoin="round"
stroke-miterlimit="10"
d="m269.678,394.912l269.678,394.912c26.3,20.643,59.654,29.585,93.106,25.724l2.419-0.114"
/>
</g>
<g id="legs">
<g id="legr">
<path
class="dark fill-light"
stroke-width="3"
stroke-linecap="round"
stroke-linejoin="round"
stroke-miterlimit="10"
d="m312.957,456.734l-14.315,53.395c-1.896,7.07,2.299,14.338,9.37,16.234l0,0c7.07,1.896,14.338-2.299,16.234-9.37l17.838-66.534c333.451,455.886,323.526,457.387,312.957,456.734z"
/>
<line
fill="none"
class="dark"
stroke-width="3"
stroke-linecap="round"
stroke-linejoin="round"
stroke-miterlimit="10"
x1="304.883"
y1="486.849"
x2="330.487"
y2="493.713"
/>
</g>
<g id="legl">
<path
class="dark fill-light"
stroke-width="3"
stroke-linecap="round"
stroke-linejoin="round"
stroke-miterlimit="10"
d="m296.315,452.273l282,505.667c-1.896,7.07-9.164,11.265-16.234,9.37l0,0c-7.07-1.896-11.265-9.164-9.37-16.234l17.838-66.534c278.993,441.286,286.836,447.55,296.315,452.273z"
/>
<line
fill="none"
class="dark"
stroke-width="3"
stroke-linecap="round"
stroke-linejoin="round"
stroke-miterlimit="10"
x1="262.638"
y1="475.522"
x2="288.241"
y2="482.387"
/>
</g>
</g>
<g id="head">
<ellipse
transform="matrix(0.259 -0.9659 0.9659 0.259 -51.5445 563.2371)"
class="dark fill-light"
stroke-width="3"
stroke-linecap="round"
stroke-linejoin="round"
stroke-miterlimit="10"
cx="341.295"
cy="315.211"
rx="61.961"
ry="60.305"
/>
<path
id="headstripe"
fill="none"
class="dark"
stroke-width="3"
stroke-linecap="round"
stroke-linejoin="round"
stroke-miterlimit="10"
d="m330.868,261.338c-7.929,1.72-15.381,5.246-21.799,10.246"
/>
<path
class="dark fill-light"
stroke-width="3"
stroke-linecap="round"
stroke-linejoin="round"
stroke-miterlimit="10"
d="m380.857,346.164c-1.247,4.651-4.668,8.421-9.196,10.06c-9.332,3.377-26.2,7.817-42.301,3.5s-28.485-16.599-34.877-24.192c-3.101-3.684-4.177-8.66-2.93-13.311l7.453-27.798c0.756-2.82,3.181-4.868,6.088-5.13c6.755-0.61,20.546-0.608,41.785,5.087s33.181,12.591,38.725,16.498c2.387,1.682,3.461,4.668,2.705,7.488l380.857,346.164z"
/>
<g clip-path="url(#glassclip)">
<polygon
id="glassshine"
fill="none"
class="dark"
stroke-width="3"
stroke-miterlimit="10"
points="278.436,375.599 383.003,264.076 364.393,251.618 264.807,364.928 "
/>
</g>
</g>
</g>
</g>
</svg>
</div>
<div class="content">
<h1>404</h1>
<h2><span data-l10n>uh oh</span>! <span data-l10n>not found</span></h2>
<p data-l10n>the server can not find the requested page</p>
</div>
</main>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.9.1/gsap.min.js"
integrity="sha512-h6cpm97fasgikmlba4s774vqon24v5gsql4ybtdoy2su2dexzvhqpxfk4p6gpdnzqm9fg1g3cmv5wd7e6cflzq=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<script>
/** @var {object} gsap is a library for building high-performance animations */
if (typeof gsap === 'object') {
gsap.set('svg', { visibility: 'visible' })
gsap.to('#headstripe', {
y: 0.5,
rotation: 1,
yoyo: true,
repeat: -1,
ease: 'sine.inout',
duration: 1,
})
gsap.to('#spaceman', {
y: 0.5,
rotation: 1,
yoyo: true,
repeat: -1,
ease: 'sine.inout',
duration: 1,
})
gsap.to('#cratersmall', {
x: -3,
yoyo: true,
repeat: -1,
duration: 1,
ease: 'sine.inout',
})
gsap.to('#craterbig', {
x: 3,
yoyo: true,
repeat: -1,
duration: 1,
ease: 'sine.inout',
})
gsap.to('#planet', {
rotation: -2,
yoyo: true,
repeat: -1,
duration: 1,
ease: 'sine.inout',
transformorigin: '50% 50%',
})
gsap.to('#starsbig g', {
rotation: 'random(-30,30)',
transformorigin: '50% 50%',
yoyo: true,
repeat: -1,
ease: 'sine.inout',
})
gsap.fromto(
'#starssmall g',
{ scale: 0, transformorigin: '50% 50%' },
{
scale: 1,
transformorigin: '50% 50%',
yoyo: true,
repeat: -1,
stagger: 0.1,
}
)
gsap.to('#circlessmall circle', {
y: -4,
yoyo: true,
duration: 1,
ease: 'sine.inout',
repeat: -1,
})
gsap.to('#circlesbig circle', {
y: -2,
yoyo: true,
duration: 1,
ease: 'sine.inout',
repeat: -1,
})
gsap.set('#glassshine', { x: -68 })
gsap.to('#glassshine', {
x: 80,
duration: 2,
rotation: -30,
ease: 'expo.inout',
transformorigin: '50% 50%',
repeat: -1,
repeatdelay: 8,
delay: 2,
})
} else {
console.warn('gsap library is not initialized (network error?)')
}
//
if (navigator.language.substring(0, 2).tolowercase() !== 'en') {
;((s, p) => {
// localize the page (details here - https://github.com/tarampampam/error-pages/tree/master/l10n)
s.src =
'https://cdn.jsdelivr.net/gh/tarampampam/error-pages@2/l10n/l10n.min.js' // '../l10n/l10n.js';
s.async = s.defer = true
s.addeventlistener('load', () => p.removechild(s))
p.appendchild(s)
})(document.createelement('script'), document.body)
}
//
</script>
</body>
<!--
error 404: not found
description: the server can not find the requested page
--></html>