Skip to content

Commit 0c0ed46

Browse files
committed
chore: add image description
copyright description should be add earlier, it's my fault.
1 parent 88ab370 commit 0c0ed46

7 files changed

Lines changed: 26 additions & 92 deletions

File tree

.vscode/settings.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
{
2-
"explorer.sortOrder": "modified"
2+
"explorer.sortOrder": "modified",
3+
// "[html]": {
4+
// "editor.formatOnSave": false
5+
// },
36
}

content/pages/about/index.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,14 @@ comments: false
3434

3535
找到我:
3636

37-
请使用 `texsd dot tt29 at outlook dot com`
37+
请使用 `texsd dot tt29 at outlook dot com`
38+
39+
---
40+
41+
关于站点:
42+
43+
本站使用 Blowfish 主题,基于 Hugo。
44+
45+
- 头像 [@FURLESS_](https://space.bilibili.com/588453/dynamic)
46+
- 首页背景图 [@木子森森森](https://www.pixiv.net/users/14292311)
47+
- 友链背景图 [@雪菜](https://space.bilibili.com/13225909)

layouts/_default/baseof.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- 引入 Barba.js 和 GSAP 实现淡入淡出效果 -->
12
<!doctype html>
23
<html
34
lang="{{ with site.Params.isoCode | default (site.LanguageCode | default `en`) }}{{- . -}}{{ end }}"

layouts/partials/barba.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- 引入 Barba.js 和 GSAP -->
1+
<!-- 引入 Barba.js 和 GSAP 实现淡入淡出效果 -->
22
<script src="https://cdn.jsdelivr.net/npm/@barba/core"></script>
33
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.5/gsap.min.js"></script>
44

@@ -27,20 +27,20 @@
2727
barba.hooks.after(() => {
2828
// 等待新页面的 DOM 完全准备好
2929
setTimeout(() => {
30-
// 方法1:触发 resize,让主题重新计算位置
30+
// 方法 1:触发 resize,让主题重新计算位置
3131
window.dispatchEvent(new Event('resize'));
32-
33-
// 方法2:手动修复菜单 active 类(针对 basic.html 中的逻辑)
32+
33+
// 方法 2:手动修复菜单 active 类(针对 basic.html 中的逻辑)
3434
if (typeof $ !== 'undefined') {
3535
// 清除所有菜单项上的 active 类
36-
$('nav a, header a, .menu-item').each(function() {
36+
$('nav a, header a, .menu-item').each(function () {
3737
$(this).removeClass('active');
3838
$(this).find('p').removeClass('active'); // 对应 basic.html 中的 $(e).children("p").addClass("active")
3939
});
40-
40+
4141
// 根据当前 URL 重新添加 active 类
4242
const currentPath = window.location.pathname;
43-
$('nav a, header a, .menu-item').each(function() {
43+
$('nav a, header a, .menu-item').each(function () {
4444
const $link = $(this);
4545
const href = $link.attr('href');
4646
if (href === currentPath || (href !== '/' && currentPath.startsWith(href))) {
@@ -52,4 +52,4 @@
5252
}
5353
}, 50);
5454
});
55-
</script>
55+
</script>

layouts/partials/footer.html

Lines changed: 0 additions & 82 deletions
This file was deleted.

layouts/shortcodes/links.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- 友情链接 -->
12
<div class="article-list--compact links">
23
{{- range .Page.Params.links -}}
34
<article>

layouts/shortcodes/no_limit_code.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- 这个原始功能是在自定义 css 里面写的 -->
12
<div class="no-limit-code">
23
{{ $lang := .Get 0 | default "text" }}
34
{{ highlight .Inner $lang }}

0 commit comments

Comments
 (0)