github.com/rabbouni145/gg@v0.47.1/docs/content/en/variables/hugo.md (about)

     1  ---
     2  title: Hugo-specific Variables
     3  linktitle: Hugo Variables
     4  description: The `.Hugo` variable provides easy access to Hugo-related data.
     5  date: 2017-03-12
     6  publishdate: 2017-03-12
     7  lastmod: 2017-03-12
     8  categories: [variables and params]
     9  keywords: [hugo,generator]
    10  draft: false
    11  menu:
    12    docs:
    13      parent: "variables"
    14      weight: 60
    15  weight: 60
    16  sections_weight: 60
    17  aliases: []
    18  toc: false
    19  wip: false
    20  ---
    21  
    22  It contains the following fields:
    23  
    24  .Hugo.Generator
    25  : `<meta>` tag for the version of Hugo that generated the site. `.Hugo.Generator` outputs a *complete* HTML tag; e.g. `<meta name="generator" content="Hugo 0.18" />`
    26  
    27  .Hugo.Version
    28  : the current version of the Hugo binary you are using e.g. `0.13-DEV`<br>
    29  
    30  .Hugo.CommitHash
    31  : the git commit hash of the current Hugo binary e.g. `0e8bed9ccffba0df554728b46c5bbf6d78ae5247`
    32  
    33  .Hugo.BuildDate
    34  : the compile date of the current Hugo binary formatted with RFC 3339 e.g. `2002-10-02T10:00:00-05:00`<br>
    35  
    36  {{% note "Use the Hugo Generator Tag" %}}
    37  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.
    38  {{% /note %}}
    39