From 3b966953d7e5f04d96661cfa8d476da83d04d471 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Mon, 26 Jan 2026 14:06:43 -0500 Subject: remove unnecessary variable --- layouts/_partials/asset-table.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'layouts/_partials/asset-table.html') 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 . }} - {{- $dateFmt := "2006-01-02" -}} {{- with resources.Get (printf "%s.moddate" .Name) -}} - {{- chomp .Content | time | dateFormat $dateFmt -}} + {{- chomp .Content | time | dateFormat "2006-01-02" -}} {{- end -}} {{ path.Base .Name }} -- cgit v1.2.3