diff --git a/templates/_file_detail.pages.tmpl b/templates/_file_detail.pages.tmpl index 85953cb..7333e98 100644 --- a/templates/_file_detail.pages.tmpl +++ b/templates/_file_detail.pages.tmpl @@ -1,13 +1,14 @@ -
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")) }} -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")) }} +{{ .Name }}
+