aerohub / hugo-orbit-theme

Great looking resume/CV theme designed for developers.
MIT License
253 stars 117 forks source link

Move CV information to Hugo's data dir for livereload to work on CV info #8

Closed jannecederberg closed 7 years ago

jannecederberg commented 7 years ago

By default Hugo will watch for changes when running hugo server. The configuration (e.g. config.toml) is not watched and as a result changing CV information in the config file will not get livereloaded. This commit fixes that.

As data seems to not be read from theme directories, this does however introduce the need for people testing this theme to copy the exampleSite/data/cv.toml to hugoroot/data for test-running the theme. This instruction has been added to README.md.

jannecederberg commented 7 years ago

LiveReload not working was actually caused by params.languages in config.toml being a reserved variable by Hugo. This PR is obsolete.