Add blueprints and a navigation bar snippet for generating a primary navigation bar of pages.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user