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