summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--layouts/index.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html
index e69de29..9657ffc 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -0,0 +1,12 @@
+{{ define "main" }}
+<main>
+ <header>
+ <h1>{{ .Title }}</h1>
+ </header>
+ <div>
+ {{ range first 5 .Site.RegularPages }}
+ {{ .Render "summary" }}
+ {{ end }}
+ </div>
+</main>
+{{ end }}