diff options
author | Digitalcraftsman <digitalcraftsman@protonmail.com> | 2020-06-12 21:39:53 +0300 |
---|---|---|
committer | Digitalcraftsman <digitalcraftsman@protonmail.com> | 2020-06-12 21:48:03 +0300 |
commit | f18566b75288cfaee8f1abeeb7d5c787ca23b140 (patch) | |
tree | a7049c789a29f41f7fd8a35b843c32315cce0517 | |
parent | 448b2731e322c597563ceaa18c3cae066c403328 (diff) |
Update instructions for generating theme site in main READMEalt-themesdir
-rw-r--r-- | README.md | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -190,8 +190,9 @@ Themes are updated automatically at: To test your theme with the Hugo Themes Site Build Script locally: - Clone this repo -- Add your theme from the root of the cloned repo with: `git submodule add <URL of your theme's repo>` - Navigate to the `_script/` directory e.g.`cd _script/` -- Then execute: `./generateThemeSite.sh http://localhost:1313 && hugo server -w=false -s hugoThemeSite/themeSite` -- Open `localhost:1313` in your browser and navigate to the theme. +- Then execute: `./reviewTheme.sh <url-to-git-repository-of-theme>` + - If a theme demo requires its own content structure to function or if it is meant for a specialist use case, whitelist it in [./generateThemeSite.sh](https://github.com/gohugoio/hugoThemes/blob/master/_script/generateThemeSite.sh) + - More information [here](https://github.com/gohugoio/hugoThemes/tree/master/_script/README.md#quick-build-for-theme-reviews--tests) +- Open `localhost:1313` in your browser and navigate to the theme - If your theme demo is not generated you can create an error report with: `./generateThemeSite.sh > errors.txt` |