diff options
author | Zach Berwaldt <zberwaldt@tutamail.com> | 2023-05-13 23:14:24 -0400 |
---|---|---|
committer | Zach Berwaldt <zberwaldt@tutamail.com> | 2023-05-13 23:14:24 -0400 |
commit | 59b4fc0d0e761238f51f27658d116b90c0abb528 (patch) | |
tree | b3c85c414de6cdff6a5c060387d8d5e6c6af825f /layouts/index.html | |
parent | b34e09f8fe1011963934dbf40dc92f0b258592ca (diff) |
tweak index page
Diffstat (limited to 'layouts/index.html')
-rw-r--r-- | layouts/index.html | 7 |
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> |