From 4163aeae40009f5e7efbd7e5400713d2c31e9320 Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Sat, 11 Jun 2016 10:08:33 +0100 Subject: [PATCH] some updates --- assets/templates/base.tmpl | 63 +---------- delete.go | 31 ++++++ filemanager.go | 214 +++++++++++++------------------------ listing.go | 133 +++++++++++++++++------ page.go | 39 +++++-- single.go | 10 ++ 6 files changed, 256 insertions(+), 234 deletions(-) create mode 100644 delete.go create mode 100644 single.go diff --git a/assets/templates/base.tmpl b/assets/templates/base.tmpl index f1aedcd1..e571c8dd 100644 --- a/assets/templates/base.tmpl +++ b/assets/templates/base.tmpl @@ -3,76 +3,19 @@ {{.Name}} - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

{{range $url, $name := .BreadcrumbMap}}{{$name}}{{if ne $url "/"}}/{{end}}{{end}}

- {{ template "content" .Listing }} + {{ template "content" .Data }}