Verified Commit 7d9f5b8b authored by Aral Balkan's avatar Aral Balkan
Browse files

Closes #200: document how baseURL handling works for bundled Hugo

parent 16de9130
......@@ -23,6 +23,7 @@ The format is based on [Keep a Changelog](,
- Document initial run `@hostname` error on Mac with stale DNS cache (#138).
- Update Help output to add examples for update, start, stop, restart commands and match the readme (#137).
- Document that `.generated` folder should be added to `.gitignore` (#197).
- Document how `baseURL` handing works for generated Hugo content. (#200).
- Update docs to include Mac install example for alpha/beta installs (#201).
- Improve Hugo documentation.
......@@ -809,6 +809,8 @@ __Note:__ During development, this feature uses Site.js’s live reload instead
If Site.js finds a folder called _.hugo_ in your site’s root, it will build it using its integrated Hugo instance (you don’t need to install Hugo separately) and place the generated files into a folder called _.generated_ in your site’s root. It will also automatically serve these files.
One difference with plain Hugo is that if you set a `baseURL` in your configuration, it will be ignored as Site.js sets the `baseURL` automatically to the correct value based on whether you are running locally in development or at your hostname during staging or production.
__Note:__ You should add `.generated` to your `.gitignore` file so as not to accidentally add the generated content into your source code repository.
You can pass any command you would normally pass to Hugo using Site.js’s integrated Hugo instance:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment