diff --git a/layouts/index.html b/layouts/index.html
index 5d7705d..8ba9f56 100755
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,13 +1,23 @@
{{ define "main" }}
-{{ $section := where .Data.Pages "Section" "article" }}
+
{{ .Content }}
+ {{ $section := where .Data.Pages "Section" "article" }}
+
- {{ range sort $section "Date" "desc" }}
+ {{ range sort (first 1 $section) "Date" "desc" }}
{{ .Render "summary" }}
{{ end }}
-
+
+
+
+ {{ range sort (first 2 (after 1 $section)) "Date" "desc" }}
+ {{ .Render "summary" }}
+ {{ end }}
+
+
+
{{ end }}
diff --git a/layouts/section/article.html b/layouts/section/article.html
index 3fd9a08..706ea6c 100644
--- a/layouts/section/article.html
+++ b/layouts/section/article.html
@@ -1,13 +1,17 @@
{{ define "main" }}
- {{ $section := where .Data.Pages "Section" .Section }}
+
+
{{ .Content }}
+
+ {{ $section := .Paginate (where .Data.Pages "Section" .Section) 5 }}
- {{ range sort $section "Date" "desc" }}
+ {{ range sort $section.Pages "Date" "desc" }}
{{ .Render "summary" }}
{{ end }}
+
{{ end }}