diff --git a/config/_default/params.toml b/config/_default/params.toml index a9d6c28..e394fb8 100755 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -1,3 +1,7 @@ +########################### Deployment ############################# +# set to "development" or "production". This deploys the site to the correct environment and sets the robot.txt to disallow all pages when in development mode. +environment = "development" + #################### default parameters ################################ # favicon module: https://github.com/gethugothemes/hugo-modules/tree/master/images#favicon-implementation favicon = "images/verua_fav.png" diff --git a/hugo.toml b/hugo.toml index 5692795..113cddb 100755 --- a/hugo.toml +++ b/hugo.toml @@ -18,10 +18,6 @@ disableLanguages = ["en"] hasCJKLanguage = false # If hasCJKLanguage true, auto-detect Chinese/Japanese/Korean Languages in the content. see: https://gohugo.io/getting-started/configuration/#hascjklanguage enableRobotsTXT = true -########################### Deployment ############################# -# set to "development" or "production". This deploys the site to the correct environment and sets the robot.txt to disallow all pages when in development mode. -[params] -environment = "development" ########################### Services ############################# [services] diff --git a/readme.md b/readme.md index 55d4f1a..284d9ff 100755 --- a/readme.md +++ b/readme.md @@ -20,7 +20,7 @@ Production site: ve ## Usage / Update Content -To use the theme, you need to clone the repository, update your content in the content folder and push your changes to the main branch. +To use the theme, and to update your content, you need to clone the repository, update your content in the content folder and push your changes to the main branch which will trigger a deployment. ```bash # Clone the repository