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:
David Fernandes 2020-01-01 16:36:38 +00:00 committed by Patrick Kollitsch
parent bea71280d9
commit e099c1ad63

View File

@ -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 -->