4 Commits

Author SHA1 Message Date
Laban Sköllermark
f3388f4fef Use environment introduced in Hugo 0.53
The Ananke theme got environment support before Hugo did and when Hugo
added it in version 0.53 it was in a slightly different way. Running
"hugo server" will set the environment to "development" and running just
"hugo" will set it to "production". It can be overridden by OS
environment variable "HUGO_ENVIRONMENT" (note, not "HUGO_ENV") or by
using the --environment option.

Use "hugo.Environment" to detect environment instead and update the
README.
2019-11-08 23:26:18 +01: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