mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 14:16:06 +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:
1 parent
bea71280d9
commit
e099c1ad63
1 file changed
+1
-1
@@ -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