aboutsummaryrefslogtreecommitdiff
path: root/layouts/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 51f6625..16138b4 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,8 +1,13 @@
1{{ define "main" }} 1{{ define "main" }}
2<div> 2<div>
3 <article>
4 {{- .Content -}}
5 </article>
3 {{ with .Site.GetPage "post" }} 6 {{ with .Site.GetPage "post" }}
4 {{ range .Pages }} 7 {{ range .Pages }}
5 <h1>{{ .Title }}</h1> 8 <article>
9 <p>{{ .Render "summary" }}</p>
10 </article>
6 {{ end }} 11 {{ end }}
7 {{ end }} 12 {{ end }}
8</div> 13</div>