From 6f112ca4ed83e19e2db7f9bdc89b0ee935e80f09 Mon Sep 17 00:00:00 2001 From: Lee Cattarin Date: Fri, 25 Sep 2026 12:34:00 -0700 Subject: [PATCH] Update content through Mattrbld --- .mattrbld/schemas/page.json | 43 +++++++++++++++++++------------------ src/pages/about.md | 1 + 2 files changed, 23 insertions(+), 21 deletions(-) diff --git a/.mattrbld/schemas/page.json b/.mattrbld/schemas/page.json index 4e7b39d..24e8ae2 100644 --- a/.mattrbld/schemas/page.json +++ b/.mattrbld/schemas/page.json @@ -30,6 +30,26 @@ } } }, + { + "type": "toggle", + "default": true, + "icon": "toggle-on", + "key": "permalink", + "label": "Linkable", + "options": { + "iconLeft": "hide", + "iconRight": "eye" + }, + "tab": "Content", + "value": null, + "version": 1, + "visibility": { + "hidden": false, + "showByValue": { + "field": null + } + } + }, { "type": "rich text", "default": null, @@ -97,7 +117,8 @@ "visibility": { "hidden": false, "showByValue": { - "field": null + "field": "permalink", + "value": true } } }, @@ -182,26 +203,6 @@ "field": null } } - }, - { - "type": "toggle", - "default": true, - "icon": "toggle-on", - "key": "permalink", - "label": "Actual page (turn off for top level of nested menu)", - "options": { - "iconLeft": null, - "iconRight": null - }, - "tab": "Navigation", - "value": null, - "version": 1, - "visibility": { - "hidden": false, - "showByValue": { - "field": null - } - } } ], "tabs": [ diff --git a/src/pages/about.md b/src/pages/about.md index 42358be..5921f4c 100644 --- a/src/pages/about.md +++ b/src/pages/about.md @@ -5,5 +5,6 @@ eleventyNavigation: parent: null order: 3 ___mb_schema: /.mattrbld/schemas/page.json +permalink: false --- Here’s some body text