Fix compile error caused by MenuEntry not having a .Permalink

Fixes issue in recent change that changes {{.URL}} to {{.Permalink}},
but shouldn't have been done for navigation.MenuItems.
This commit is contained in:
N0hbdy 2019-10-26 15:26:05 -07:00
parent 0d9656d939
commit 532836a4d7

View File

@ -9,7 +9,7 @@
<ul class="pl0 mr3">
{{ range .Site.Menus.main }}
<li class="list f5 f4-ns fw4 dib pr3">
<a class="hover-white no-underline white-90" href="{{ .Permalink }}" title="{{ .Name }} page">
<a class="hover-white no-underline white-90" href="{{ .URL }}" title="{{ .Name }} page">
{{ .Name }}
</a>
</li>