diff options
Diffstat (limited to 'layouts/index.html')
| -rw-r--r-- | layouts/index.html | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..36ead9a --- /dev/null +++ b/layouts/index.html | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | {{ partial "head.html" . }} | ||
| 2 | |||
| 3 | <main class="index"> | ||
| 4 | <section class="article-list"> | ||
| 5 | <div> | ||
| 6 | <h1 class="text-center">{{$.Title}}</h1> | ||
| 7 | {{ range (where .Site.RegularPages "Section" "blog") }} | ||
| 8 | <div class="article"> | ||
| 9 | <span class="date">{{.Date.Format "2006-01-02"}} | ||
| 10 | <a href="{{.Permalink}}">{{.Title}}</a></span> | ||
| 11 | </div> | ||
| 12 | {{ end }} | ||
| 13 | </div> | ||
| 14 | </section> | ||
| 15 | </main> | ||
