From 0e6d2cf355fc675735e729126efc26b583acdb5f Mon Sep 17 00:00:00 2001 From: Volpeon Date: Thu, 4 Aug 2022 11:16:31 +0200 Subject: Made parent page accessible; more flexible main menu by using patterns insteda of IDs --- metadata/metadata.yaml | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'metadata') diff --git a/metadata/metadata.yaml b/metadata/metadata.yaml index 4320b36..3baf3b9 100644 --- a/metadata/metadata.yaml +++ b/metadata/metadata.yaml @@ -7,22 +7,22 @@ author: menus: main: - - id: art - label: Art - url: /art/ + - label: Art + match: [^/art/, ^/art$] + url: /art/ - - id: projects - label: Projects - url: /projects/ + - label: Projects + match: [^/projects/, ^/projects$] + url: /projects/ - - id: notebook - label: Notebook - url: /notebook/ + - label: Notebook + match: [^/notebook/, ^/notebook$] + url: /notebook/ - - id: profiles - label: Profiles - url: /profiles/ + - label: Profiles + match: [^/profiles/, ^/profiles$] + url: /profiles/ - - id: services - label: Services - url: /services/ + - label: Services + match: [^/services/, ^/services$] + url: /services/ -- cgit v1.2.3-70-g09d2