Merge pull request #13 from francoposa/main
header partial: replace deprecated .Path access with lower .Name
This commit is contained in:
commit
9890a04990
@ -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…
Reference in New Issue
Block a user