]>
Commit | Line | Data |
---|---|---|
1 | {{ define "main" -}} | |
2 | <div class="posts"> | |
3 | {{ range .Data.Pages -}} | |
4 | <article class="post"> | |
5 | <h1 class="post-title"> | |
6 | <a href="{{ .Permalink }}">{{ .Title }}</a> | |
7 | </h1> | |
8 | <time datetime="{{ .Date.Format "2006-01-02T15:04:05Z0700" }}" class="post-date">{{ .Date.Format "Mon, Jan 2, 2006" }}</time> | |
9 | {{ .Summary }} | |
10 | {{ if .Truncated }} | |
11 | <div class="read-more-link"> | |
12 | <a href="{{ .RelPermalink }}">Read Moreā¦</a> | |
13 | </div> | |
14 | {{ end }} | |
15 | </article> | |
16 | {{- end }} | |
17 | </div> | |
18 | {{- end }} |