Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mismith0227/hugo_theme_pickles.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Kerr <dwmkerr@gmail.com>2021-04-30 15:50:32 +0300
committerDave Kerr <dwmkerr@gmail.com>2021-04-30 15:50:32 +0300
commit01ec66e555e8dfa3bdc70405e13bc736685ebd8a (patch)
tree61a6b6d3b65567101b79a1d38a05cd681d9523bc
parent0f67cd1698e3f42d6b5af6b2965c90f3593c76ad (diff)
fix: serving the example site locally with `yarn run hugo` now works
-rw-r--r--README.md30
-rw-r--r--package.json2
2 files changed, 18 insertions, 14 deletions
diff --git a/README.md b/README.md
index 0e38635..b30882e 100644
--- a/README.md
+++ b/README.md
@@ -85,22 +85,26 @@ Please create feature branches from [develop](https://github.com/mismith0227/hug
1. Install Node modules
- $ yarn
+```sh
+yarn
+```
1. Run gulp. You don't need to install gulp globally.
- // Development
- $ yarn run dev
- $ // On another tab
- $ hugo server
-
- // Production (compress)
- $ yarn run prod
- $ // On another tab
- $ hugo server
-
- // Build
- $ yarn run build
+```
+// Development
+$ yarn run dev
+$ // On another tab
+$ yarn run hugo
+
+// Production (compress)
+$ yarn run prod
+$ // On another tab
+$ yarn run hugo
+
+// Build
+$ yarn run build
+```
## License
diff --git a/package.json b/package.json
index aa9f804..71aa56c 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,7 @@
"description": "",
"main": "index.js",
"scripts": {
- "hugo": "hugo server",
+ "hugo": "hugo server -s exampleSite --baseUrl http://localhost --themesDir=../../ --theme=hugo_theme_pickles",
"dev": "gulp",
"prod": "gulp --env production",
"build": "gulp build --env production",