Skip to content

Commit

Permalink
[skip ci] fix counter
Browse files Browse the repository at this point in the history
  • Loading branch information
xoxys committed Jul 9, 2020
1 parent 6754429 commit 543da29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/partials/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ <h1><a href="{{ .RelPermalink }}">{{ partial "title" . }}</a></h1>
{{ template "post-author" dict "name" $author.name "page" . }}
{{ end }}
{{ end }}
{{ add $ac 1 }}
{{ $ac = (add $ac 1) }}
{{ end }}
{{ end }}

Expand All @@ -54,7 +54,7 @@ <h1><a href="{{ .RelPermalink }}">{{ partial "title" . }}</a></h1>
{{ template "post-tag" dict "name" $name "page" . }}
{{ end }}
{{ end }}
{{ add $tc 1 }}
{{ $tc = (add $tc 1) }}
{{ end }}
{{ end }}
</footer>
Expand Down

0 comments on commit 543da29

Please sign in to comment.