5 Commits

Author SHA1 Message Date
Troy Lindsay
e09ebe11eb
Update build env logic (#453)
* Adds GetEnvironmentName and IsProduction partial functions, which
  improve DRY
* Add prioritization for determining environment name, which favors the
  existing methods: the `HUGO_ENV` environment variable and site config
  `env` theme parameter
* Adds `useHugoEnv` theme parameter to use the value of
  `.Hugo.Environment` for the build environment name
2022-01-03 13:13:12 -06:00
zar3bski
8845854aa9
fix : production should Allow and point to Sitemap (#404) 2021-03-09 15:40:16 -05:00
Bud Parr
5c53ef6e2f
improve robots to use site param 2017-04-15 12:31:22 -04:00
Bud Parr
6331805b90
clean up layouts 2017-04-13 23:01:23 -04:00
Bud Parr
98bc281a57
first commit 2017-04-10 21:27:13 -04:00