summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore5
-rw-r--r--exampleSite/.gitignore3
-rw-r--r--package.json3
3 files changed, 6 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore
index 03b817f..4e15b73 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,4 +7,7 @@
# Directories to ignore (do not add trailing '/'s, they skip symlinks).
/node_modules/
-/exampleSite/resources/
+resources/
+public/
+
+.hugo_build.lock
diff --git a/exampleSite/.gitignore b/exampleSite/.gitignore
deleted file mode 100644
index 332ee17..0000000
--- a/exampleSite/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
-/public/
-
-.hugo_build.lock
diff --git a/package.json b/package.json
index f7e522c..a351ada 100644
--- a/package.json
+++ b/package.json
@@ -30,7 +30,8 @@
"url": "git+https://github.com/sergeyklay/gohugo-theme-ed.git"
},
"scripts": {
- "deploy": " cd exampleSite; hugo;",
+ "deploy": "cd exampleSite; hugo;",
+ "server": "cd exampleSite; hugo server -D --disableFastRender",
"lint:editorconfig": "editorconfig-checker",
"lint:js": "eslint static/js/*.js",
"lint": "npm run lint:js && npm run lint:editorconfig"