Add blueprints and a navigation bar snippet for generating a primary navigation bar of pages.

This commit is contained in:
2026-04-17 04:07:28 +10:00
parent 525e5bfb64
commit e8c5e32768
4 changed files with 123 additions and 0 deletions

View File

@@ -21,6 +21,13 @@ Kirby::plugin(
],
],
],
"blueprints" => [
"fields/link-locations" => __DIR__ . "/blueprints/fields/link-locations.yml",
"fields/link-location" => __DIR__ . "/blueprints/fields/link-location.yml",
],
"snippets" => [
"navbar/primary" => __DIR__ . "/snippets/navbar/primary.php",
],
"hooks" => [
/**
* To add this hook to a plugin, change the option() call to use the plugins name.