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 }}
|
{{- with index site.Menus $menuID }}
|
||||||
<nav>
|
<nav>
|
||||||
<ul>
|
<!-- <ul> -->
|
||||||
{{- partial "inline/menu/walk.html" (dict "page" $page "menuEntries" .) }}
|
{{- partial "inline/menu/walk.html" (dict "page" $page "menuEntries" .) }}
|
||||||
</ul>
|
<!-- </ul> -->
|
||||||
</nav>
|
</nav>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
@@ -33,7 +33,7 @@ Renders a menu for the given menu ID.
|
|||||||
{{- $name = . }}
|
{{- $name = . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
<li>
|
<!-- <li> -->
|
||||||
<a
|
<a
|
||||||
{{- range $k, $v := $attrs }}
|
{{- range $k, $v := $attrs }}
|
||||||
{{- with $v }}
|
{{- with $v }}
|
||||||
@@ -46,6 +46,6 @@ Renders a menu for the given menu ID.
|
|||||||
{{- partial "inline/menu/walk.html" (dict "page" $page "menuEntries" .) }}
|
{{- partial "inline/menu/walk.html" (dict "page" $page "menuEntries" .) }}
|
||||||
</ul>
|
</ul>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
</li>
|
<!-- </li> -->
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
Reference in New Issue
Block a user