Remove series position indicator -- racy and buggy

This commit is contained in:
2023-03-18 21:11:07 -05:00
parent 50a207b8ee
commit d34b2a56d7
3 changed files with 2 additions and 11 deletions

View File

@ -11,12 +11,7 @@
</div>
<div class="series-page-list">
{{ $i := 0 }}
{{ $total := len .Data.Pages }}
{{ range .Data.Pages.Reverse }}
{{ $i = add 1 $i }}
{{ .Scratch.Set "series_position" $i }}
{{ .Scratch.Set "series_total" $total }}
<article class="post">
{{ .Render "summary" }}
</article>