Commit | Line | Data |
---|---|---|
e28a215c | 1 | {{ define "main" }} |
2 | <article class="entry post"> | |
3 | <header> | |
4 | <h2>{{ .Title }}</h2> | |
5 | </header> | |
6 | <div id="content"> | |
7 | {{ .Content }} | |
8 | </div> | |
9 | </article> | |
10 | <ul> | |
11 | <!-- Ranges through content/posts/*.md --> | |
12 | {{ range .Pages }} | |
13 | <li> | |
14 | <a href="{{.Permalink}}">{{.Date.Format "01-02-2006"}} | {{.Title}}</a> | |
15 | </li> | |
16 | {{ end }} | |
17 | </ul> | |
18 | {{ end }} |