fixed 开关相册
This commit is contained in:
1 parent
d93167a114
commit
c7acf03b4a
2 files changed
+4
-1
No files matched your search
@@ -100,8 +100,9 @@ hasCJKLanguage = true
|
|||||||
# 关于页面配置 (About Page Configuration)
|
# 关于页面配置 (About Page Configuration)
|
||||||
# ----------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------
|
||||||
[params.about]
|
[params.about]
|
||||||
enableheatmap = false # 开启热力图 (Enable Heatmap)
|
enableheatmap = true # 开启热力图 (Enable Heatmap)
|
||||||
enableskills = false # 开启技能栈 (Enable Skills)
|
enableskills = false # 开启技能栈 (Enable Skills)
|
||||||
|
enablealbum = false # 开启相册 (Enable Album)
|
||||||
|
|
||||||
# ----------------------------------------------------------------------------
|
# ----------------------------------------------------------------------------
|
||||||
# 作者信息 (Author Info)
|
# 作者信息 (Author Info)
|
||||||
|
|||||||
@@ -24,6 +24,7 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<!-- Album Section -->
|
<!-- Album Section -->
|
||||||
|
{{ if site.Params.about.enablealbum }}
|
||||||
{{ $sectionCount = add $sectionCount 1 }}
|
{{ $sectionCount = add $sectionCount 1 }}
|
||||||
<div style="margin-top: 40px;">
|
<div style="margin-top: 40px;">
|
||||||
<div class="section-title">{{ printf "%02d" $sectionCount }} / 光影 (Album)</div>
|
<div class="section-title">{{ printf "%02d" $sectionCount }} / 光影 (Album)</div>
|
||||||
@@ -41,6 +42,7 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
Reference in new issue
Block a user