layouts/home/index.html (view raw)
1{{ define "main" }}
2<main>
3 <article>
4 <header>
5 <h1>{{.Title}}</h1>
6 </header>
7 <!-- "{{.Content}}" pulls from the markdown content of the corresponding _index.md -->
8 {{.Content}}
9 </article>
10 <!--
11 <ul>
12 Ranges through content/posts/*.md
13 {{ range ( where .Site.RegularPages "Type" "posts" ) }}
14 <li>
15 <a href="{{.Permalink}}">{{.Date.Format "2006-01-02"}} | {{.Title}}</a>
16 </li>
17 {{ end }}
18 </ul>
19 -->
20</main>
21{{ end }}