diff options
Diffstat (limited to 'docs/content/en/methods/menu-entry')
-rw-r--r-- | docs/content/en/methods/menu-entry/PageRef.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/en/methods/menu-entry/PageRef.md b/docs/content/en/methods/menu-entry/PageRef.md index 979879b03..5fc2dfcae 100644 --- a/docs/content/en/methods/menu-entry/PageRef.md +++ b/docs/content/en/methods/menu-entry/PageRef.md @@ -62,7 +62,7 @@ weight = 20 With this template code: -```go-html-template {file="layouts/partials/menu.html"} +```go-html-template {file="layouts/_partials/menu.html"} <ul> {{ range .Site.Menus.main }} <li><a href="{{ .URL }}">{{ .Name }}</a></li> @@ -83,7 +83,7 @@ In the above note that the `href` attribute of the second `anchor` element is bl With this template code: -```go-html-template {file="layouts/partials/menu.html"} +```go-html-template {file="layouts/_partials/menu.html"} <ul> {{ range .Site.Menus.main }} <li><a href="{{ or .URL .PageRef }}">{{ .Name }}</a></li> |