OOPS! Add back <a> tags to the site menu
This commit is contained in:
parent
2cff513898
commit
24122c7427
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@
|
|||
<nav class="site bulleted">
|
||||
{{ with site.Menus.main }}
|
||||
{{- range . -}}
|
||||
<li{{ if $currentPage.HasMenuCurrent "main" . }} class="active"{{ end }}><span>{{ .Name }}</span></li>
|
||||
<li><a {{ if $currentPage.HasMenuCurrent "main" . }} class="active"{{ end }} href="{{ .URL }}"><span>{{ .Name }}</span></a></li>
|
||||
{{- end -}}
|
||||
{{ end }}
|
||||
</nav>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue