diff options
author | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-11-18 23:18:18 +0300 |
---|---|---|
committer | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-11-18 23:18:18 +0300 |
commit | 74b65dd83f7c66d1f67f961b1fee65400b1fc334 (patch) | |
tree | dd9d5f0db2dbc733bcbbb04f98f0d18abf40031e /themes/neonxp/layouts/partials/menu.html | |
parent | 1c1ae0094244868c63bd875c0cbfa50ced37de8d (diff) |
Фикс темы под мобильные устройства
Diffstat (limited to 'themes/neonxp/layouts/partials/menu.html')
-rw-r--r-- | themes/neonxp/layouts/partials/menu.html | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/themes/neonxp/layouts/partials/menu.html b/themes/neonxp/layouts/partials/menu.html index 97f2e1f..c860b4c 100644 --- a/themes/neonxp/layouts/partials/menu.html +++ b/themes/neonxp/layouts/partials/menu.html @@ -12,9 +12,11 @@ Renders a menu for the given menu ID. {{- with index site.Menus $menuID }} <aside> - <ul> - {{- partial "inline/menu/walk.html" (dict "page" $page "menuEntries" .) }} - </ul> + <nav> + <ol> + {{- partial "inline/menu/walk.html" (dict "page" $page "menuEntries" .) }} + </ol> + </nav> </aside> {{- end }} @@ -42,9 +44,9 @@ Renders a menu for the given menu ID. {{- end -}} >{{ $name }}</a> {{- with .Children }} - <ul> + <ol> {{- partial "inline/menu/walk.html" (dict "page" $page "menuEntries" .) }} - </ul> + </ol> {{- end }} </li> {{- end }} |