Menu Meta Data in YAML Front Matter
tags:
menu
yaml
Description/Summary
Testing the addition of menu meta data to the YAML front matter. Here the front matter format is set to YAML using the #+hugo_front_matter_format keyword.
Later only the weight and identifier menu properties are overridden using EXPORT_HUGO_MENU_OVERRIDE key in the property drawer.
Content
Testing the addition of menu meta data to the YAML front
matter. Here the front matter format is set to YAML using the
#+hugo_front_matter_format keyword.
Later only the weight and identifier menu properties are
overridden using EXPORT_HUGO_MENU_OVERRIDE key in the property drawer.
Page (Debug)
Page Params (Debug)
| Key | Type | Value |
| date | time.Time |
2017-07-18 00:00:00 +0000 UTC
|
| draft | bool |
false
|
| iscjklanguage | bool |
false
|
| lastmod | time.Time |
2022-05-03 00:48:15 -0400 -0400
|
| menu | maps.Params |
| Key | Type | Value |
| main | maps.Params |
| Key | Type | Value |
| identifier | string |
"yaml-menu-override"
|
| parent | string |
"posts"
|
| weight | int |
25
|
|
|
| publishdate | time.Time |
2017-07-18 00:00:00 +0000 UTC
|
| tags | []string |
"menu"
"yaml"
|
| title | string |
"Menu Meta Data in YAML Front Matter"
|
File Object (Debug)
| FileInfo Variable | Value |
| UniqueID |
"523a2212557b7ad5f52b1c8f1e3a7a88"
|
| BaseFileName |
"menu-meta-data-yaml"
|
| TranslationBaseName |
"menu-meta-data-yaml"
|
| Lang |
"en"
|
| Section |
"posts"
|
| LogicalName |
"menu-meta-data-yaml.md"
|
| Dir |
"posts/"
|
| Ext |
"md"
|
| Path |
"posts/menu-meta-data-yaml.md"
|