From f8541ef965ca22e746b523eb418e47cb4f78f2d8 Mon Sep 17 00:00:00 2001 From: Arne Rief Date: Fri, 9 Jan 2026 12:24:05 +0100 Subject: Upgrade to new template system from Hugo v0.146.0 --- layouts/partials/navmenu.html | 48 ------------------------------------------- 1 file changed, 48 deletions(-) delete mode 100644 layouts/partials/navmenu.html (limited to 'layouts/partials/navmenu.html') diff --git a/layouts/partials/navmenu.html b/layouts/partials/navmenu.html deleted file mode 100644 index af0fc2e..0000000 --- a/layouts/partials/navmenu.html +++ /dev/null @@ -1,48 +0,0 @@ -{{- /* -Simplified version of the `hugo new template` menu.html default. Renders a menu for the given menu ID. - -@context {page} page: The current page. -@context {string} menuID: The menu ID. - -@example: {{ partial "navmenu.html" (dict "menuID" "main" "page" .) }} -*/}} - -{{- $currentPage := .page }} -{{- $menuID := .menuID }} - -{{- with index site.Menus $menuID }} - -{{- end -}} -- cgit v1.2.3