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