diff options
author | otis <xiaohei.zyx@gmail.com> | 2020-01-08 04:11:27 +0300 |
---|---|---|
committer | otis <xiaohei.zyx@gmail.com> | 2020-01-08 04:11:27 +0300 |
commit | 48fc563bf4db72341146ef0956cd1167f59702d9 (patch) | |
tree | c489f0d82c2afc3730584b4e177fcb2a117d1cf3 | |
parent | e98a440a526abe832d0fd37fd4a10b5f46c29f81 (diff) |
fix: list group
-rw-r--r-- | layouts/_default/list.html | 1 |
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" . }} |