diff options
Diffstat (limited to 'docs/content/en/variables/hugo.md')
-rw-r--r-- | docs/content/en/variables/hugo.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/content/en/variables/hugo.md b/docs/content/en/variables/hugo.md index c0c5c9601..a563831ff 100644 --- a/docs/content/en/variables/hugo.md +++ b/docs/content/en/variables/hugo.md @@ -27,12 +27,17 @@ It contains the following fields: .Hugo.Version : the current version of the Hugo binary you are using e.g. `0.13-DEV`<br> +.Hugo.Environment +: the current running environment as defined through the `--environment` cli tag. + .Hugo.CommitHash : the git commit hash of the current Hugo binary e.g. `0e8bed9ccffba0df554728b46c5bbf6d78ae5247` .Hugo.BuildDate : the compile date of the current Hugo binary formatted with RFC 3339 e.g. `2002-10-02T10:00:00-05:00`<br> + + {{% note "Use the Hugo Generator Tag" %}} We highly recommend using `.Hugo.Generator` in your website's `<head>`. `.Hugo.Generator` is included by default in all themes hosted on [themes.gohugo.io](http://themes.gohugo.io). The generator tag allows the Hugo team to track the usage and popularity of Hugo. {{% /note %}} |