From 868c45f3b1f3c8364d6bbdecc550780061837103 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Cora=C3=A7=C3=A3o?= Date: Sat, 14 Jan 2023 11:11:38 +0000 Subject: [PATCH] Delete README.md --- layouts/partials/header/README.md | 37 ------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 layouts/partials/header/README.md diff --git a/layouts/partials/header/README.md b/layouts/partials/header/README.md deleted file mode 100644 index e7845957..00000000 --- a/layouts/partials/header/README.md +++ /dev/null @@ -1,37 +0,0 @@ -# Header - -- `header-option-simple.html` renders menus without nested items -- `header-option-nested.html` renders menus with nested items -- `header-option.html` decides which template to render given the menu - -- `js/header.js` exposes a method to toggle visibility of nested menus - -- Nesting is configured using the `parent` and `identifier` properties in `menus.en.yml`. Example - -```yml -main: - - name: Product - identifier: product - weight: 1 - - name: Analytics - pageRef: analytics - weight: 1 - parent: product - - name: Engagement - pageRef: engagement - weight: 2 - parent: product - -secondary: - - name: Engineering - identifier: engineering - weight: 1 - - name: Computers - pageRef: computers - weight: 1 - parent: engineering - - name: Rockets - pageRef: rockets - weight: 2 - parent: engineering -```