From 17eff65b0dd49b4c74004bfb659f5d078d8af0af Mon Sep 17 00:00:00 2001 From: Henrique Dias Date: Sat, 22 Oct 2016 12:11:08 +0100 Subject: [PATCH] move assets --- {assets/embed => _embed}/public/css/.jsbeautifyrc | 0 {assets/embed => _embed}/public/css/styles.css | 0 {assets/embed => _embed}/public/js/.jsbeautifyrc | 0 {assets/embed => _embed}/public/js/application.js | 0 {assets/embed => _embed}/public/js/form2js.js | 0 {assets/embed => _embed}/templates/.jsbeautifyrc | 0 {assets/embed => _embed}/templates/actions.tmpl | 0 {assets/embed => _embed}/templates/base.tmpl | 0 {assets/embed => _embed}/templates/editor.tmpl | 0 {assets/embed => _embed}/templates/frontmatter.tmpl | 0 {assets/embed => _embed}/templates/listing.tmpl | 0 {assets/embed => _embed}/templates/minimal.tmpl | 0 {assets/embed => _embed}/templates/single.tmpl | 0 filemanager.go | 2 +- 14 files changed, 1 insertion(+), 1 deletion(-) rename {assets/embed => _embed}/public/css/.jsbeautifyrc (100%) rename {assets/embed => _embed}/public/css/styles.css (100%) rename {assets/embed => _embed}/public/js/.jsbeautifyrc (100%) rename {assets/embed => _embed}/public/js/application.js (100%) rename {assets/embed => _embed}/public/js/form2js.js (100%) rename {assets/embed => _embed}/templates/.jsbeautifyrc (100%) rename {assets/embed => _embed}/templates/actions.tmpl (100%) rename {assets/embed => _embed}/templates/base.tmpl (100%) rename {assets/embed => _embed}/templates/editor.tmpl (100%) rename {assets/embed => _embed}/templates/frontmatter.tmpl (100%) rename {assets/embed => _embed}/templates/listing.tmpl (100%) rename {assets/embed => _embed}/templates/minimal.tmpl (100%) rename {assets/embed => _embed}/templates/single.tmpl (100%) diff --git a/assets/embed/public/css/.jsbeautifyrc b/_embed/public/css/.jsbeautifyrc similarity index 100% rename from assets/embed/public/css/.jsbeautifyrc rename to _embed/public/css/.jsbeautifyrc diff --git a/assets/embed/public/css/styles.css b/_embed/public/css/styles.css similarity index 100% rename from assets/embed/public/css/styles.css rename to _embed/public/css/styles.css diff --git a/assets/embed/public/js/.jsbeautifyrc b/_embed/public/js/.jsbeautifyrc similarity index 100% rename from assets/embed/public/js/.jsbeautifyrc rename to _embed/public/js/.jsbeautifyrc diff --git a/assets/embed/public/js/application.js b/_embed/public/js/application.js similarity index 100% rename from assets/embed/public/js/application.js rename to _embed/public/js/application.js diff --git a/assets/embed/public/js/form2js.js b/_embed/public/js/form2js.js similarity index 100% rename from assets/embed/public/js/form2js.js rename to _embed/public/js/form2js.js diff --git a/assets/embed/templates/.jsbeautifyrc b/_embed/templates/.jsbeautifyrc similarity index 100% rename from assets/embed/templates/.jsbeautifyrc rename to _embed/templates/.jsbeautifyrc diff --git a/assets/embed/templates/actions.tmpl b/_embed/templates/actions.tmpl similarity index 100% rename from assets/embed/templates/actions.tmpl rename to _embed/templates/actions.tmpl diff --git a/assets/embed/templates/base.tmpl b/_embed/templates/base.tmpl similarity index 100% rename from assets/embed/templates/base.tmpl rename to _embed/templates/base.tmpl diff --git a/assets/embed/templates/editor.tmpl b/_embed/templates/editor.tmpl similarity index 100% rename from assets/embed/templates/editor.tmpl rename to _embed/templates/editor.tmpl diff --git a/assets/embed/templates/frontmatter.tmpl b/_embed/templates/frontmatter.tmpl similarity index 100% rename from assets/embed/templates/frontmatter.tmpl rename to _embed/templates/frontmatter.tmpl diff --git a/assets/embed/templates/listing.tmpl b/_embed/templates/listing.tmpl similarity index 100% rename from assets/embed/templates/listing.tmpl rename to _embed/templates/listing.tmpl diff --git a/assets/embed/templates/minimal.tmpl b/_embed/templates/minimal.tmpl similarity index 100% rename from assets/embed/templates/minimal.tmpl rename to _embed/templates/minimal.tmpl diff --git a/assets/embed/templates/single.tmpl b/_embed/templates/single.tmpl similarity index 100% rename from assets/embed/templates/single.tmpl rename to _embed/templates/single.tmpl diff --git a/filemanager.go b/filemanager.go index d53ae279..0e0d2ebb 100644 --- a/filemanager.go +++ b/filemanager.go @@ -1,6 +1,6 @@ //go:generate go get github.com/jteeuwen/go-bindata //go:generate go install github.com/jteeuwen/go-bindata/go-bindata -//go:generate go-bindata -pkg assets -ignore .jsbeautifyrc -prefix "assets/embed" -o assets/binary.go assets/embed/... +//go:generate go-bindata -pkg assets -ignore .jsbeautifyrc -prefix "_embed" -o assets/binary.go _embed/... // Package filemanager provides middleware for managing files in a directory // when directory path is requested instead of a specific file. Based on browse