diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..1377554
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+*.swp
diff --git a/layouts/index.html b/layouts/index.html
index 360647b..17de6dc 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,11 +1,12 @@
{{ partial "header.html" . }}
- {{ range $index, $page := .Site.Pages }}
+ {{ range $index, $page := .Paginator.Pages }}
{{ if ne $index 0 }}
{{ end }}
{{ .Render "li" }}
{{ end }}
+{{ partial "pagination.html" .Paginator }}
{{ partial "footer.html" . }}
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 8546a94..73c6011 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -41,7 +41,7 @@
{{ end }}
-