diff --git a/layouts/index.html b/layouts/index.html index 6af2f0f..bdff676 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -117,14 +117,14 @@
- {{- range first 8 $latest -}} + {{- range first 4 $latest -}} {{- partial "post-card.html" . -}} {{- end -}}
- {{- if gt (len $latest) 8 -}} + {{- if gt (len $latest) 4 -}}
- View All {{ len $latest }} Posts {{ partial "icon.html" "arrow-right" }} + View All {{ len $posts }} Posts {{ partial "icon.html" "arrow-right" }}
{{- end -}}