fixed 开关相册
This commit is contained in:
1 parent
6c4b4b7809
commit
1c6b62580c
2 files changed
+4
-1
No files matched your search
@@ -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)
|
||||
|
||||
@@ -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 }}
|
||||
Reference in new issue
Block a user