removed list-based element wrap in navigation element

This commit is contained in:
2026-02-01 17:32:15 -05:00
parent b9dc4c7645
commit 6df591a5fa

View File

@@ -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 }}