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 authored and Patrick Kollitsch committed 2020-01-01 23:36:38 +07:00
1 parent bea71280d9
commit e099c1ad63
1 file changed
+1 -1
+1 -1
View File
@@ -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 -->