mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-15 14:44:50 -04:00
changed ".Title" to ".URL" (#972)
From what I've understood in this Documentation it should be referencing the .URL and not the .Title
This commit is contained in:
parent
bea71280d9
commit
e099c1ad63
@ -50,7 +50,7 @@ This partial would produce the following HTML output:
|
|||||||
</ul>
|
</ul>
|
||||||
{{< /output >}}
|
{{< /output >}}
|
||||||
|
|
||||||
The odd output can be remedied by adding ` | safeURL` to our `.Title` page variable:
|
The odd output can be remedied by adding ` | safeURL` to our `.URL` page variable:
|
||||||
|
|
||||||
{{< code file="layouts/partials/correct-url-sidebar-menu.html" copy="false" >}}
|
{{< code file="layouts/partials/correct-url-sidebar-menu.html" copy="false" >}}
|
||||||
<!-- This unordered list may be part of a sidebar menu -->
|
<!-- This unordered list may be part of a sidebar menu -->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user