From 07183e15036c711d4dbf3a1614e0bade8f014180 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Wed, 7 Jan 2026 13:18:17 -0330 Subject: simplify nav partial --- themes/aoidh/layouts/_partials/menu.html | 40 -------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 themes/aoidh/layouts/_partials/menu.html (limited to 'themes/aoidh/layouts/_partials/menu.html') diff --git a/themes/aoidh/layouts/_partials/menu.html b/themes/aoidh/layouts/_partials/menu.html deleted file mode 100644 index ba80749..0000000 --- a/themes/aoidh/layouts/_partials/menu.html +++ /dev/null @@ -1,40 +0,0 @@ -{{- /* -Renders a menu for the given menu ID. - -@context {page} page The current page. -@context {string} menuID The menu ID. - -@example: {{ partial "menu.html" (dict "menuID" "main" "page" .) }} -*/}} - -{{- $page := .page }} -{{- $menuID := .menuID }} - -{{- with index site.Menus $menuID }} - -{{- end }} - -{{- define "_partials/inline/menu/walk.html" }} - {{- $page := .page }} - {{- range .menuEntries }} -
  • - {{ .Name }} - {{- with .Children }} - - {{- end }} -
  • - {{- end }} -{{- end }} -- cgit v1.2.3