diff --git a/templates/_file_detail.pages.tmpl b/templates/_file_detail.pages.tmpl index 02930ed..85953cb 100644 --- a/templates/_file_detail.pages.tmpl +++ b/templates/_file_detail.pages.tmpl @@ -1,4 +1,4 @@ -{{ define "_file_detail" }} +

{{ .Entry.Name }}

Type : {{ ext .Entry.Name }}

@@ -10,4 +10,4 @@ {{ end }}
-{{ end }} + diff --git a/templates/_file_list.pages.tmpl b/templates/_file_list.pages.tmpl index 4de88d6..22d2005 100644 --- a/templates/_file_list.pages.tmpl +++ b/templates/_file_list.pages.tmpl @@ -1,4 +1,4 @@ -{{ define "_file_list" }} +
{{- range .Entries }}
@@ -13,4 +13,4 @@
{{- end }}
-{{ end }} + diff --git a/templates/folders.pages.tmpl b/templates/folders.pages.tmpl index 4978c75..04fd41f 100644 --- a/templates/folders.pages.tmpl +++ b/templates/folders.pages.tmpl @@ -1,4 +1,4 @@ -{{ define "folders" }} +
@@ -68,4 +68,4 @@
-{{ end }} +