diff --git a/templates/_file_detail.pages.tmpl b/templates/_file_detail.pages.tmpl index 7333e98..02930ed 100644 --- a/templates/_file_detail.pages.tmpl +++ b/templates/_file_detail.pages.tmpl @@ -1,14 +1,13 @@ +{{ define "_file_detail" }}
Type : {{ ext .Name }}
-Taille : {{ printf "%.1f KB" (toKB .Size) }}
-Modifié le : {{ .ModTime.Format "02 Jan 2006 15:04" }}
- {{ if and (not .IsDir) (or (hasSuffix .Name ".jpg") (hasSuffix .Name ".png")) }} -Type : {{ ext .Entry.Name }}
+Taille : {{ printf "%.1f KB" (toKB .Entry.Size) }}
+Modifié : {{ .Entry.ModTime.Format "02 Jan 2006 15:04" }}
+ {{ if and (not .Entry.IsDir) (or (hasSuffix .Entry.Name ".jpg") (hasSuffix .Entry.Name ".png")) }} +{{ .Name }}
-