aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html14
1 files changed, 8 insertions, 6 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 17c1d26..b4eaea0 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,11 +1,13 @@
{{ define "main" }}
+<div id="content" class="mw7 center">
-<h1 class="f1">{{.Title}}</h1>
+ <h1 class="f1">{{.Title}}</h1>
-<h2 class="f2">Posts</h2>
-<!-- Note that .Data.Pages is the equivalent of .Site.Pages on the homepage template. -->
+ <h2 class="f2">Posts</h2>
+ <!-- Note that .Data.Pages is the equivalent of .Site.Pages on the homepage template. -->
- {{ range where .Data.Pages "Section" "post" }}
- {{ .Render "summary" }}
- {{ end }}
+ {{ range where .Data.Pages "Section" "post" }}
+ {{ .Render "summary" }}
+ {{ end }}
+</div>
{{ end }}