summaryrefslogtreecommitdiffstats
path: root/layouts/_partials/asset-table.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_partials/asset-table.html')
-rw-r--r--layouts/_partials/asset-table.html36
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>