diff --git a/content/about.md b/content/about.md index 819b18cc..f621d900 100644 --- a/content/about.md +++ b/content/about.md @@ -14,7 +14,7 @@ draft: false
02 / 这个博客 (Build)
-
+
框架Hugo · 主题二开 Ying(自用不开源)
@@ -30,7 +30,7 @@ draft: false
-
+
Hugo Cloudflare Docker diff --git a/themes/Ying/layouts/page/about.html b/themes/Ying/layouts/page/about.html index c5ee93aa..846093c8 100644 --- a/themes/Ying/layouts/page/about.html +++ b/themes/Ying/layouts/page/about.html @@ -17,8 +17,8 @@ ③ 动画类一律官方:uk-animation-fade(标题淡入 0.8s)、 uk-animation-slide-{bottom,right}-medium(内容 50px 滑入 0.5s)。 ★ 不要用 -small:位移只有 10px,在这么宽的版面里根本看不出来。 - ④ 内容组一律 repeat: true —— 移出视口重藏、滚回重播(归档页年份 - 标题同款),页面滚动时才是「活的」;分节标题不 repeat(同归档 h3)。 + ④ 内容组一律不写 repeat —— 只在首次滚进时播一次,滚回时保持就位 + 不重播、不重藏(用户定案 2026-10-07);分节标题同样只播一次。 PJAX:换入的 DOM 由 mypjax.js 的 reinitUIKit() 重新 boot(UIKit 的 MutationObserver 只反应属性新增,管不了 PJAX 整树换入)。 @@ -67,7 +67,7 @@ {{ $sectionCount = add $sectionCount 1 }}
{{ printf "%02d" $sectionCount }} / 光影 (Album)
-
+
{{ range site.Data.album }}
diff --git a/themes/Ying/layouts/partials/about-intro.html b/themes/Ying/layouts/partials/about-intro.html index 08a0b3ce..5db7733d 100644 --- a/themes/Ying/layouts/partials/about-intro.html +++ b/themes/Ying/layouts/partials/about-intro.html @@ -60,10 +60,10 @@ 动效:与归档页 page/archives.html 完全同源的官方写法: · target 用后代选择器(不写 `>`,避免结构耦合选不中) · 动画类用官方 uk-animation-slide-*-medium(50px 位移,看得清) - · repeat: true —— 每次滚进视口都重播(归档页年份标题同款), - 这是「滚动时页面是活的」的关键;hidden 用默认值 + · 不写 repeat —— 只在首次滚进时播一次,滚回保持就位不重播 + (用户定案 2026-10-07);hidden 用默认值 · delay 官方语义:同一批进视口的 target 依次累加 → 自动错落 --> -
+
坐标湖北 · 襄阳 → 广州
其人00 后,性格随和,风趣幽默
打算未来计划定居江苏南京
@@ -72,7 +72,7 @@
-
+
{{- range $nodes }}
{{ .when }}
@@ -84,7 +84,7 @@ -
+
{{ $total }}篇文章
{{ $spanYears }}年积累
{{ $thisYear }}今年更新
@@ -93,8 +93,8 @@ {{- if $top }} -
+ 不写 repeat → inview 类常驻,滚回时宽度保持、不重长。 --> +
{{- range $top }} {{- $pct := div (mul .count 100) $maxC }}
diff --git a/themes/Ying/layouts/partials/featured-comments.html b/themes/Ying/layouts/partials/featured-comments.html index 3f56d4bd..094f2310 100644 --- a/themes/Ying/layouts/partials/featured-comments.html +++ b/themes/Ying/layouts/partials/featured-comments.html @@ -131,7 +131,7 @@ } -
+
走心评论

当我看到各位在不同的时间和故事中,发出一份份走心的评论时,一份温暖之意即笼罩在我的心头。