diff options
Diffstat (limited to 'content/en/content-management/menus.md')
-rw-r--r-- | content/en/content-management/menus.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/content/en/content-management/menus.md b/content/en/content-management/menus.md index 4278b03be..bc48c82e7 100644 --- a/content/en/content-management/menus.md +++ b/content/en/content-management/menus.md @@ -80,7 +80,7 @@ You can also add entries to menus that aren’t attached to a piece of content. Here’s an example snippet pulled from a configuration file: -{{< code-toggle file="config.toml" >}} +{{< code-toggle file="config" >}} [[menu.main]] name = "about hugo" pre = "<i class='fa fa-heart'></i>" @@ -90,6 +90,7 @@ Here’s an example snippet pulled from a configuration file: [[menu.main]] name = "getting started" pre = "<i class='fa fa-road'></i>" + post = "<span class='alert'>New!</span>" weight = -100 url = "/getting-started/" {{< /code-toggle >}} |