summaryrefslogtreecommitdiffstats
path: root/layouts/list.html
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2026-01-21 13:08:20 -0500
committerSam Anthony <sam@samanthony.xyz>2026-01-21 13:08:20 -0500
commit97d154d31a018290c35a8c42ae5ed7cad7bb6381 (patch)
treed15b7790a97785f007593386aa50829e1c4121de /layouts/list.html
parente19da24b0484af874b838b21c8a8c644a609f635 (diff)
downloadsamanthony.xyz-97d154d31a018290c35a8c42ae5ed7cad7bb6381.zip
move automotive spreadsheets to articles section
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 }}