Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/xiaoheiAh/hugo-theme-pure.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorotis <xiaohei.zyx@gmail.com>2020-01-08 04:11:27 +0300
committerotis <xiaohei.zyx@gmail.com>2020-01-08 04:11:27 +0300
commit48fc563bf4db72341146ef0956cd1167f59702d9 (patch)
treec489f0d82c2afc3730584b4e177fcb2a117d1cf3
parente98a440a526abe832d0fd37fd4a10b5f46c29f81 (diff)
fix: list group
-rw-r--r--layouts/_default/list.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index ae562fa..75c9298 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -32,6 +32,7 @@
aria-labelledby="heading{{- $thisYear }}">
<div class="panel-body">
<div class="collection">
+ {{- $currentYearSection = $thisYear}}
{{- end}}
{{- .Scratch.Set "type" "link"}}
{{- partial "item-post.html" . }}