Skip to content

Commit 478f943

Browse files
author
cenlj
committed
auto deploy cenlj/hugo-main@b62af2b39229ce4fcf4f5ec9ec1b5178fb0fe249
1 parent 8083601 commit 478f943

58 files changed

Lines changed: 6726 additions & 512 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

404.html

Lines changed: 135 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<!DOCTYPE html>
22
<html lang="zh-cn" dir="ltr">
33
<head><meta charset='utf-8'>
4-
<meta name='viewport' content='width=device-width, initial-scale=1'><meta name='description' content="CG技术分享网站">
4+
<meta name='viewport' content='width=device-width, initial-scale=1'><meta name='description' content="欢迎来到我的网站,博客内容主要涉及CG技术分享、生活随笔、学习笔记等。">
55
<title>404 Page not found</title>
66

77
<link rel='canonical' href='https://cenlj.github.io/404.html'>
88

99
<link rel="stylesheet" href="/scss/style.min.946cca6c6259ef94ac55abfae7c7bf3291ea3ed5eea17ef77500b257217c6710.css"><meta property='og:title' content="404 Page not found">
10-
<meta property='og:description' content="CG技术分享网站">
10+
<meta property='og:description' content="欢迎来到我的网站,博客内容主要涉及CG技术分享、生活随笔、学习笔记等。">
1111
<meta property='og:url' content='https://cenlj.github.io/404.html'>
1212
<meta property='og:site_name' content='小高山的个人博客'>
13-
<meta property='og:type' content='website'><meta property='og:updated_time' content=' 2025-07-01T12:07:30&#43;08:00 '/>
13+
<meta property='og:type' content='website'><meta property='og:updated_time' content=' 2025-07-01T20:16:58&#43;08:00 '/>
1414
<meta name="twitter:title" content="404 Page not found">
15-
<meta name="twitter:description" content="CG技术分享网站">
15+
<meta name="twitter:description" content="欢迎来到我的网站,博客内容主要涉及CG技术分享、生活随笔、学习笔记等。">
1616
<link rel="shortcut icon" href="/favicon.ico" />
1717

1818
</head>
@@ -62,15 +62,13 @@
6262

6363
</a>
6464

65-
<span class="emoji">🍉</span>
66-
6765
</figure>
6866

6967

7068

7169
<div class="site-meta">
7270
<h1 class="site-name"><a href="/">小高山的个人博客</a></h1>
73-
<h2 class="site-description">CG技术分享网站</h2>
71+
<h2 class="site-description">欢迎来到我的网站,博客内容主要涉及CG技术分享、生活随笔、学习笔记等。</h2>
7472
</div>
7573
</header><ol class="menu-social">
7674

@@ -279,7 +277,7 @@ <h3 class="search-result--title section-title"></h3>
279277
<section class="copyright">
280278
&copy;
281279

282-
2025 小高山的个人博客 版权所有
280+
2025 小高山的个人博客 All rights reserved. 禁止转载,如需引用,请注明文章链接。
283281

284282

285283

@@ -316,6 +314,135 @@ <h3 class="search-result--title section-title"></h3>
316314
document.head.appendChild(customFont);
317315
}());
318316
</script>
317+
<script defer src="https://cn.vercount.one/js"></script>
318+
<script>
319+
function showHideView() {
320+
321+
let viewCounts = document.querySelectorAll("#viewCount");
322+
if (viewCounts) {
323+
324+
let article = document.querySelector(".article-page");
325+
if (!article) {
326+
viewCounts.forEach(ele => {
327+
ele.style.display = 'none';
328+
});
329+
}
330+
}
331+
}
332+
333+
showHideView();
334+
</script>
335+
336+
337+
<a href="#" id="back-to-top" title="返回顶部"></a>
338+
339+
340+
<style>
341+
#back-to-top {
342+
display: none;
343+
position: fixed;
344+
bottom: 5px;
345+
right: 15px;
346+
width: 40px;
347+
height: 40px;
348+
border-radius: 50%;
349+
background-color: var(--body-background);
350+
box-shadow: var(--shadow-l2);
351+
font-size: 20px;
352+
text-align: center;
353+
line-height: 38px;
354+
cursor: pointer;
355+
transition:
356+
transform 0.3s ease,
357+
background-color 0.3s ease;
358+
}
359+
360+
#back-to-top:before {
361+
content: "";
362+
display: inline-block;
363+
position: relative;
364+
transform: rotate(135deg);
365+
height: 8px;
366+
width: 8px;
367+
border-width: 0 0 2px 2px;
368+
border-color: var(--back-to-top-color);
369+
border-style: solid;
370+
}
371+
372+
#back-to-top:hover {
373+
transform: scale(1.1);
374+
background-color: var(--accent-background);
375+
}
376+
377+
#back-to-top:hover:before {
378+
border-color: var(--accent-color);
379+
}
380+
381+
382+
@media screen and (max-width: 768px) {
383+
#back-to-top {
384+
bottom: 5px;
385+
right: var(--container-padding);
386+
width: 30px;
387+
height: 30px;
388+
font-size: 16px;
389+
line-height: 32px;
390+
}
391+
}
392+
393+
@media screen and (min-width: 1024px) {
394+
#back-to-top {
395+
bottom: 10px;
396+
right: 20px;
397+
}
398+
}
399+
400+
@media screen and (min-width: 1280px) {
401+
#back-to-top {
402+
bottom: 15px;
403+
right: 25px;
404+
}
405+
}
406+
407+
@media screen and (min-width: 1536px) {
408+
#back-to-top {
409+
bottom: 15px;
410+
right: 25px;
411+
412+
}
413+
}
414+
</style>
415+
416+
<script>
417+
function backToTop() {
418+
document.documentElement.scrollIntoView({
419+
behavior: 'smooth',
420+
})
421+
}
422+
423+
window.onload = function () {
424+
let scrollTop =
425+
this.document.documentElement.scrollTop || this.document.body.scrollTop
426+
let totopBtn = this.document.getElementById('back-to-top')
427+
if (scrollTop > 0) {
428+
totopBtn.style.display = 'inline'
429+
} else {
430+
totopBtn.style.display = 'none'
431+
}
432+
}
433+
434+
window.onscroll = function () {
435+
let scrollTop =
436+
this.document.documentElement.scrollTop || this.document.body.scrollTop
437+
let totopBtn = this.document.getElementById('back-to-top')
438+
if (scrollTop < 200) {
439+
totopBtn.style.display = 'none'
440+
} else {
441+
totopBtn.style.display = 'inline'
442+
totopBtn.addEventListener('click', backToTop, false)
443+
}
444+
}
445+
</script>
319446

320447
</body>
321448
</html>

CNAME

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)