diff --git a/layouts/portfolio/single.html b/layouts/portfolio/single.html index 725e024..eead26c 100644 --- a/layouts/portfolio/single.html +++ b/layouts/portfolio/single.html @@ -7,7 +7,7 @@ {{ if or $images $hasText $video }}
$ ls
- {{ $total := len $images }}{{ if $hasText }}{{ $total = add $total 1 }}{{ end }}{{ if $video }}{{ $total = add $total 1 }}{{ end }} + {{ $total := 0 }}{{ if $images }}{{ $total = len $images }}{{ end }}{{ if $hasText }}{{ $total = add $total 1 }}{{ end }}{{ if $video }}{{ $total = add $total 1 }}{{ end }}total {{ $total }}