{{ .Content }} - + {{ $sectionCount := 0 }} + + + {{ if site.Params.about.enableheatmap }} + {{ $sectionCount = add $sectionCount 1 }}
-
03 / 光影 (Album)
+
{{ printf "%02d" $sectionCount }} / 热力图 (Hot Map)
+ {{ partial "heatmap.html" . }} +
+ {{ end }} + + + {{ if site.Params.about.enableskills }} + {{ $sectionCount = add $sectionCount 1 }} +
+
{{ printf "%02d" $sectionCount }} / 技能栈 (System Ops)
+ {{ partial "skills.html" . }} +
+ {{ end }} + + + {{ $sectionCount = add $sectionCount 1 }} +
+
{{ printf "%02d" $sectionCount }} / 光影 (Album)
{{ range site.Data.album }}
diff --git a/themes/Ying/layouts/categories/term.html b/themes/Ying/layouts/categories/term.html index 0acf59af..6b10edfd 100644 --- a/themes/Ying/layouts/categories/term.html +++ b/themes/Ying/layouts/categories/term.html @@ -12,7 +12,7 @@
{{ $paginator := .Paginate .Pages }} {{ range $paginator.Pages.GroupByDate "2006" }} -
+

{{ .Key }}