From ca484eaeda69237554fe0758ff647478362fab07 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Sat, 10 Jan 2026 20:04:43 -0500 Subject: record file modification times --- layouts/_partials/asset_table.html | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 layouts/_partials/asset_table.html (limited to 'layouts/_partials/asset_table.html') diff --git a/layouts/_partials/asset_table.html b/layouts/_partials/asset_table.html deleted file mode 100644 index 461f3ce..0000000 --- a/layouts/_partials/asset_table.html +++ /dev/null @@ -1,31 +0,0 @@ -{{- /* -For a given collection of global resources, render a table with -the modification date of each resource and a link to the resource. -The resources must be from the assets/ directory in order to get their -modification times. - -@context {,} resource.Resources - -@example: {{ partial "asset_table.html" (resources.Match "spreadsheets/*.ods") }} -*/}} - - - - - - - - - - {{- range . }} - - - - - {{- end }} - -
Mod. dateFile
- {{- with os.Stat (path.Join "assets/" .Name) -}} - {{- .ModTime | time.Format "2006-01-02" -}} - {{- end -}} - {{ path.Base .Name }}
-- cgit v1.2.3