github.com/shohhei1126/hugo@v0.42.2-0.20180623210752-3d5928889ad7/examples/blog/content/post/another-post.md (about)

     1  +++
     2  title = "Another Hugo Post"
     3  description = "Nothing special, but one post is boring."
     4  date = "2014-09-02"
     5  categories = [ "example", "configuration" ]
     6  tags = [
     7      "example",
     8      "hugo",
     9      "toml"
    10  ]
    11  +++
    12  
    13  TOML, YAML, JSON --- Oh my!
    14  -------------------------
    15  
    16  One of the nifty Hugo features we should cover: flexible configuration and front matter formats! This entry has front
    17  matter in `toml`, unlike the last one which used `yaml`, and `json` is also available if that's your preference.
    18  
    19  <!--more-->
    20  
    21  The `toml` front matter used on this entry:
    22  
    23  ```
    24  +++
    25  title = "Another Hugo Post"
    26  description = "Nothing special, but one post is boring."
    27  date = "2014-09-02"
    28  categories = [ "example", "configuration" ]
    29  tags = [
    30      "example",
    31      "hugo",
    32      "toml"
    33  ]
    34  +++
    35  ```
    36  
    37  This flexibility also extends to your site's global configuration file. You're free to use any format you prefer::simply
    38  name the file `config.yaml`, `config.toml` or `config.json`, and go on your merry way.
    39  
    40  JSON Example
    41  ------------
    42  
    43  How would this entry's front matter look in `json`? That's easy enough to demonstrate:
    44  
    45  ```
    46  {
    47      "title": "Another Hugo Post",
    48      "description": "Nothing special, but one post is boring.",
    49      "date": "2014-09-02",
    50      "categories": [ "example", "configuration" ],
    51      "tags": [
    52          "example",
    53          "hugo",
    54          "toml"
    55      ],
    56  }
    57  ```