diff options
author | mms <michal@sapka.me> | 2024-04-28 19:41:51 +0200 |
---|---|---|
committer | mms <michal@sapka.me> | 2024-04-28 19:41:51 +0200 |
commit | 4ddec44e9aaf64e63e65615a1f1f17d14edea928 (patch) | |
tree | d29d0631730d36f74d19ecedaa8201046ac3d158 /layouts/partials/menu.html | |
parent | 36b839da7070552549b63e07004c4011eb88e392 (diff) |
feat: top copy
Diffstat (limited to 'layouts/partials/menu.html')
-rw-r--r-- | layouts/partials/menu.html | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html index b27d498..15da3f9 100644 --- a/layouts/partials/menu.html +++ b/layouts/partials/menu.html @@ -13,17 +13,7 @@ {{- $page := .page }} {{- range .menuEntries }} {{- partial "menu/item.html" (dict "page" $page "item" .) }} - - {{- if .Params.inlineChildren}} - {{- with .Children }} - - {{- partial "inline/menu/inline.html" (dict "page" $page "menuEntries" .) }} - {{- end}} - {{- else}} - {{- with .Children }} - <ul>{{- partial "inline/menu/walk.html" (dict "page" $page "menuEntries" .) }}</ul> - {{- end }} - {{- end}} {{- end }} {{- end }} |