diff --git a/layouts/index.html b/layouts/index.html
index f383ac7..862f95b 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -4,9 +4,16 @@
{{ if eq $pagination.PageNumber 1 }}
{{ .Title }}
{{ partial "content.html" .Content }}
-
{{ end }}
+ {{ $scratch := newScratch }}
+ {{ $scratch.Add "i" 0 }}
{{ range $pagination.Pages }}
+ {{ if or ($scratch.Get "i" | ne 0) (eq $pagination.PageNumber 1) }}
+
+
+
+ {{ end }}
+ {{ $scratch.Set "i" ($scratch.Get "i" | add 1) }}
@@ -15,7 +22,6 @@
{{ partial "content.html" .Content | truncate 500 }} Read more »
-
{{ end }}
{{ partial "pagination.html" $pagination }}
{{ end }}