Skip to content

Commit 135e5b3

Browse files
authored
Fix contributors slice length calculation
1 parent 6a8e099 commit 135e5b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

layouts/_partials/main/blog-meta.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{ $last := sub (len .Params.contributors) 1 -}}
1+
{{ $last := sub (len (.Params.contributors | slice)) 1 -}}
22
<p>
33
<small>
44
{{- time.Format (default ":date_long" .Site.Params.dateFormat) .PublishDate -}}

0 commit comments

Comments
 (0)