diff --git a/static/css/bootstrap-material-design.css b/assets/css/bootstrap-material-design.css
similarity index 100%
rename from static/css/bootstrap-material-design.css
rename to assets/css/bootstrap-material-design.css
diff --git a/static/css/bootstrap-material-design.css.map b/assets/css/bootstrap-material-design.css.map
similarity index 100%
rename from static/css/bootstrap-material-design.css.map
rename to assets/css/bootstrap-material-design.css.map
diff --git a/static/css/bootstrap-material-design.min.css b/assets/css/bootstrap-material-design.min.css
similarity index 100%
rename from static/css/bootstrap-material-design.min.css
rename to assets/css/bootstrap-material-design.min.css
diff --git a/static/css/bootstrap-material-design.min.css.map b/assets/css/bootstrap-material-design.min.css.map
similarity index 100%
rename from static/css/bootstrap-material-design.min.css.map
rename to assets/css/bootstrap-material-design.min.css.map
diff --git a/static/css/bootstrap-theme.css b/assets/css/bootstrap-theme.css
similarity index 100%
rename from static/css/bootstrap-theme.css
rename to assets/css/bootstrap-theme.css
diff --git a/static/css/bootstrap-theme.css.map b/assets/css/bootstrap-theme.css.map
similarity index 100%
rename from static/css/bootstrap-theme.css.map
rename to assets/css/bootstrap-theme.css.map
diff --git a/static/css/bootstrap-theme.min.css b/assets/css/bootstrap-theme.min.css
similarity index 100%
rename from static/css/bootstrap-theme.min.css
rename to assets/css/bootstrap-theme.min.css
diff --git a/static/css/bootstrap-theme.min.css.map b/assets/css/bootstrap-theme.min.css.map
similarity index 100%
rename from static/css/bootstrap-theme.min.css.map
rename to assets/css/bootstrap-theme.min.css.map
diff --git a/static/css/bootstrap.css b/assets/css/bootstrap.css
similarity index 100%
rename from static/css/bootstrap.css
rename to assets/css/bootstrap.css
diff --git a/static/css/bootstrap.css.map b/assets/css/bootstrap.css.map
similarity index 100%
rename from static/css/bootstrap.css.map
rename to assets/css/bootstrap.css.map
diff --git a/static/css/bootstrap.min.css b/assets/css/bootstrap.min.css
similarity index 100%
rename from static/css/bootstrap.min.css
rename to assets/css/bootstrap.min.css
diff --git a/static/css/bootstrap.min.css.map b/assets/css/bootstrap.min.css.map
similarity index 100%
rename from static/css/bootstrap.min.css.map
rename to assets/css/bootstrap.min.css.map
diff --git a/static/css/ripples.css b/assets/css/ripples.css
similarity index 100%
rename from static/css/ripples.css
rename to assets/css/ripples.css
diff --git a/static/css/ripples.css.map b/assets/css/ripples.css.map
similarity index 100%
rename from static/css/ripples.css.map
rename to assets/css/ripples.css.map
diff --git a/static/css/ripples.min.css b/assets/css/ripples.min.css
similarity index 100%
rename from static/css/ripples.min.css
rename to assets/css/ripples.min.css
diff --git a/static/css/ripples.min.css.map b/assets/css/ripples.min.css.map
similarity index 100%
rename from static/css/ripples.min.css.map
rename to assets/css/ripples.min.css.map
diff --git a/static/fonts/glyphicons-halflings-regular.eot b/assets/fonts/glyphicons-halflings-regular.eot
similarity index 100%
rename from static/fonts/glyphicons-halflings-regular.eot
rename to assets/fonts/glyphicons-halflings-regular.eot
diff --git a/static/fonts/glyphicons-halflings-regular.svg b/assets/fonts/glyphicons-halflings-regular.svg
similarity index 100%
rename from static/fonts/glyphicons-halflings-regular.svg
rename to assets/fonts/glyphicons-halflings-regular.svg
diff --git a/static/fonts/glyphicons-halflings-regular.ttf b/assets/fonts/glyphicons-halflings-regular.ttf
similarity index 100%
rename from static/fonts/glyphicons-halflings-regular.ttf
rename to assets/fonts/glyphicons-halflings-regular.ttf
diff --git a/static/fonts/glyphicons-halflings-regular.woff b/assets/fonts/glyphicons-halflings-regular.woff
similarity index 100%
rename from static/fonts/glyphicons-halflings-regular.woff
rename to assets/fonts/glyphicons-halflings-regular.woff
diff --git a/static/fonts/glyphicons-halflings-regular.woff2 b/assets/fonts/glyphicons-halflings-regular.woff2
similarity index 100%
rename from static/fonts/glyphicons-halflings-regular.woff2
rename to assets/fonts/glyphicons-halflings-regular.woff2
diff --git a/static/js/bootstrap.js b/assets/js/bootstrap.js
similarity index 100%
rename from static/js/bootstrap.js
rename to assets/js/bootstrap.js
diff --git a/static/js/bootstrap.min.js b/assets/js/bootstrap.min.js
similarity index 100%
rename from static/js/bootstrap.min.js
rename to assets/js/bootstrap.min.js
diff --git a/static/js/main.js b/assets/js/main.js
similarity index 100%
rename from static/js/main.js
rename to assets/js/main.js
diff --git a/static/js/material.js b/assets/js/material.js
similarity index 100%
rename from static/js/material.js
rename to assets/js/material.js
diff --git a/static/js/material.min.js b/assets/js/material.min.js
similarity index 100%
rename from static/js/material.min.js
rename to assets/js/material.min.js
diff --git a/static/js/material.min.js.map b/assets/js/material.min.js.map
similarity index 100%
rename from static/js/material.min.js.map
rename to assets/js/material.min.js.map
diff --git a/static/js/npm.js b/assets/js/npm.js
similarity index 100%
rename from static/js/npm.js
rename to assets/js/npm.js
diff --git a/static/js/ripples.js b/assets/js/ripples.js
similarity index 100%
rename from static/js/ripples.js
rename to assets/js/ripples.js
diff --git a/static/js/ripples.min.js b/assets/js/ripples.min.js
similarity index 100%
rename from static/js/ripples.min.js
rename to assets/js/ripples.min.js
diff --git a/static/js/ripples.min.js.map b/assets/js/ripples.min.js.map
similarity index 100%
rename from static/js/ripples.min.js.map
rename to assets/js/ripples.min.js.map
diff --git a/main.go b/main.go
index f1accab..4c53ca2 100644
--- a/main.go
+++ b/main.go
@@ -220,9 +220,7 @@ func main() {
router.HandleFunc("/save/{output}", saveHandler)
router.HandleFunc("/del/{pasteId}/{delKey}", delHandler)
router.PathPrefix("/").Handler(http.StripPrefix("/", http.FileServer(http.Dir("static/"))))
- router.PathPrefix("/css").Handler(http.StripPrefix("/", http.FileServer(http.Dir("static/css/"))))
- router.PathPrefix("/js").Handler(http.StripPrefix("/", http.FileServer(http.Dir("static/js/"))))
- router.PathPrefix("/fonts").Handler(http.StripPrefix("/", http.FileServer(http.Dir("static/fonts/"))))
+ router.PathPrefix("/assets").Handler(http.StripPrefix("/assets", http.FileServer(http.Dir("assets"))))
err := http.ListenAndServe(PORT, router)
if err != nil {
log.Fatal(err)
diff --git a/static/index.html b/static/index.html
index c2bd26b..760468b 100644
--- a/static/index.html
+++ b/static/index.html
@@ -11,10 +11,10 @@
-
+
-
-
+
+
@@ -41,8 +41,8 @@
-
-
+
+