summaryrefslogtreecommitdiffstats
path: root/layouts/_partials/asset-table.html
diff options
context:
space:
mode:
authorSam Anthony <sam@samanthony.xyz>2026-01-26 14:06:43 -0500
committerSam Anthony <sam@samanthony.xyz>2026-01-26 14:06:43 -0500
commit3b966953d7e5f04d96661cfa8d476da83d04d471 (patch)
tree24eb056ddb9c33d30e95c4505f015ad8eccc9d95 /layouts/_partials/asset-table.html
parentbe4365f71e48ed8752fe1cb1fcb516280d2866a8 (diff)
downloadsamanthony.xyz-3b966953d7e5f04d96661cfa8d476da83d04d471.zip
remove unnecessary variable
Diffstat (limited to 'layouts/_partials/asset-table.html')
-rw-r--r--layouts/_partials/asset-table.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/layouts/_partials/asset-table.html b/layouts/_partials/asset-table.html
index edc0b01..df47501 100644
--- a/layouts/_partials/asset-table.html
+++ b/layouts/_partials/asset-table.html
@@ -22,9 +22,8 @@ the modification times of files when the repository is cloned.
{{- range . }}
<tr>
<td>
- {{- $dateFmt := "2006-01-02" -}}
{{- with resources.Get (printf "%s.moddate" .Name) -}}
- {{- chomp .Content | time | dateFormat $dateFmt -}}
+ {{- chomp .Content | time | dateFormat "2006-01-02" -}}
{{- end -}}
</td>
<td><a href="{{ .RelPermalink }}">{{ path.Base .Name }}</a></td>