aboutsummaryrefslogtreecommitdiffstats
path: root/website.go
diff options
context:
space:
mode:
authorclsr <clsr@clsr.net>2016-06-16 20:08:12 +0200
committerclsr <clsr@clsr.net>2016-06-16 20:08:12 +0200
commitce46c90e1964c26111442c780d2c173c46d6ccad (patch)
tree127e662fb30797d848853f983f29f8768f268af2 /website.go
parent629fcd4f297ffb34b4f3b54326645eabd42ab32c (diff)
downloadgomf-ce46c90e1964c26111442c780d2c173c46d6ccad.tar.gz
gomf-ce46c90e1964c26111442c780d2c173c46d6ccad.zip
Prevent creation of empty dirs when ran outside of gomf-webv0.1.4
Diffstat (limited to 'website.go')
-rw-r--r--website.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/website.go b/website.go
index e601bcd..a917979 100644
--- a/website.go
+++ b/website.go
@@ -14,7 +14,6 @@ import (
var templates *template.Template
func initWebsite() {
- os.MkdirAll("pages", 0755)
pages, err := ioutil.ReadDir("pages")
if err != nil {
panic(err)