mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-26 16:28:52 +00: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:
committed by
Patrick Kollitsch
parent
bea71280d9
commit
e099c1ad63
@@ -50,7 +50,7 @@ This partial would produce the following HTML output:
|
||||
</ul>
|
||||
{{< /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" >}}
|
||||
<!-- This unordered list may be part of a sidebar menu -->
|
||||
|
||||
Reference in New Issue
Block a user