fixed 开关相册

This commit is contained in:
Vaica committed 2026-01-31 23:05:19 +08:00
1 parent 6c4b4b7809
commit 1c6b62580c
2 files changed
+4 -1

No files matched your search

+2 -1
View File
@@ -100,8 +100,9 @@ hasCJKLanguage = true
# 关于页面配置 (About Page Configuration)
# ----------------------------------------------------------------------------
[params.about]
enableheatmap = false # 开启热力图 (Enable Heatmap)
enableheatmap = true # 开启热力图 (Enable Heatmap)
enableskills = false # 开启技能栈 (Enable Skills)
enablealbum = false # 开启相册 (Enable Album)
# ----------------------------------------------------------------------------
# 作者信息 (Author Info)
+2
View File
@@ -24,6 +24,7 @@
{{ end }}
<!-- Album Section -->
{{ if site.Params.about.enablealbum }}
{{ $sectionCount = add $sectionCount 1 }}
<div style="margin-top: 40px;">
<div class="section-title">{{ printf "%02d" $sectionCount }} / 光影 (Album)</div>
@@ -41,6 +42,7 @@
{{ end }}
</div>
</div>
{{ end }}
</div>
</div>
{{ end }}