removed list-based element wrap in navigation element
This commit is contained in:
@@ -12,9 +12,9 @@ Renders a menu for the given menu ID.
|
||||
|
||||
{{- with index site.Menus $menuID }}
|
||||
<nav>
|
||||
<ul>
|
||||
<!-- <ul> -->
|
||||
{{- partial "inline/menu/walk.html" (dict "page" $page "menuEntries" .) }}
|
||||
</ul>
|
||||
<!-- </ul> -->
|
||||
</nav>
|
||||
{{- end }}
|
||||
|
||||
@@ -33,7 +33,7 @@ Renders a menu for the given menu ID.
|
||||
{{- $name = . }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
<li>
|
||||
<!-- <li> -->
|
||||
<a
|
||||
{{- range $k, $v := $attrs }}
|
||||
{{- with $v }}
|
||||
@@ -46,6 +46,6 @@ Renders a menu for the given menu ID.
|
||||
{{- partial "inline/menu/walk.html" (dict "page" $page "menuEntries" .) }}
|
||||
</ul>
|
||||
{{- end }}
|
||||
</li>
|
||||
<!-- </li> -->
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
Reference in New Issue
Block a user