summaryrefslogtreecommitdiffstats
path: root/layouts/list.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/list.html')
-rw-r--r--layouts/list.html4
1 files changed, 1 insertions, 3 deletions
diff --git a/layouts/list.html b/layouts/list.html
index edee471..8c2a19f 100644
--- a/layouts/list.html
+++ b/layouts/list.html
@@ -9,10 +9,8 @@
</thead>
<tbody>
{{ range .Pages }}
- {{- $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" -}}
- {{- $dateHuman := .Date | time.Format "2006-01-02" -}}
<tr>
- <td><time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time></td>
+ <td>{{ partial "date.html" .Date -}}</td>
<td><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></td>
</tr>
{{ end }}