mirror of
https://github.com/tomfran/typo.git
synced 2025-04-26 13:39:55 +03:00
header partial: replace deprecated .Path access with lower .Name
This commit is contained in:
parent
33198a8dd0
commit
c7cc1c5965
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@
|
|||
|
||||
{{ with site.Params.menu }}
|
||||
{{ range . }}
|
||||
<p class="small {{ if eq .url $currentPage.Path }} bold {{end}}">
|
||||
<p class="small {{ if eq .name (lower $currentPage.Name) }} bold {{end}}">
|
||||
<a href="{{.url}}">
|
||||
/{{.name }}
|
||||
</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue