The recommended code editor is Visual Studio Code.
Follow the instructions here to install Hugo.
To start a development server that will watch for file changes and build drafts:
$ hugo server -w -D
Sometimes hugo gets out of sync with the latest file changes. If this happens, you can force hugo to rebuild everything when detecting a file change (warning: this slows down build times):
$ hugo server -w -D --disableFastRender
To build site and place files in
|content/||Markdown files which contain the content which creates the sites pages and posts.|
|old/||Deprecated content which is kept around just in case I need it again.|
|scripts/||Useful Python scripts to automate some labourous tasks.|
Broken Link Checking
I use the great LinkChecker.
You can install this with
$ pipenv install --two LinkChecker
Recommended VS Code Plugins
- Better TOML
- Code Spell Checker
- Vim (if your're a vim fan!)