diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2026-04-24 11:15:04 -0400 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2026-04-24 11:15:04 -0400 |
| commit | 544ced362819ae9bd2abd9c12480f76945b368aa (patch) | |
| tree | 84695604c33c6266a65d63759e3474c9bd87892e /layouts/_partials/asset-table.html | |
| parent | 8dfec6a37d8adb55d500df1866901e3ee0d3c067 (diff) | |
| download | samanthony.xyz-master.zip | |
Diffstat (limited to 'layouts/_partials/asset-table.html')
| -rw-r--r-- | layouts/_partials/asset-table.html | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/layouts/_partials/asset-table.html b/layouts/_partials/asset-table.html index df47501..2e236de 100644 --- a/layouts/_partials/asset-table.html +++ b/layouts/_partials/asset-table.html @@ -12,22 +12,22 @@ the modification times of files when the repository is cloned. */}} <table> - <thead> - <tr> - <th>Mod. date</th> - <th>File</th> - </tr> - </thead> - <tbody> - {{- range . }} - <tr> - <td> - {{- with resources.Get (printf "%s.moddate" .Name) -}} - {{- chomp .Content | time | dateFormat "2006-01-02" -}} - {{- end -}} - </td> - <td><a href="{{ .RelPermalink }}">{{ path.Base .Name }}</a></td> - </tr> - {{- end }} - </tbody> + <thead> + <tr> + <th>Mod. date</th> + <th>File</th> + </tr> + </thead> + <tbody> + {{- range . }} + <tr> + <td> + {{- with resources.Get (printf "%s.moddate" .Name) -}} + {{- chomp .Content | time | dateFormat "2006-01-02" -}} + {{- end -}} + </td> + <td><a href="{{ .RelPermalink }}">{{ path.Base .Name }}</a></td> + </tr> + {{- end }} + </tbody> </table> |