Skip to content

Commit c8815cc

Browse files
Merge pull request #55 from sachbearbeiter/main
v5 init
2 parents d7bf0d3 + 13b62b5 commit c8815cc

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ Note that this Composer package name (belugadigital/kirby-navigation) differs fr
1616
| Kirby version | Compatible plugin version |
1717
|:--------------|:--------------------------|
1818
| ^5.0 | ^5.0 |
19-
| ^4.8 | ^4.2 |
2019
| ^4.0 | ^4.0 |
2120
| ^3.7 | ^3.0 |
2221
| ^3.6 | ^2.0 |
@@ -72,7 +71,7 @@ Or when using Kirby Query language
7271

7372
If you want full control over your menu and want to customize the markup, you can copy the navigation.php and navigation_item.php files from the plugin's snippets directory to your /site/snippets directory, and customize them there.
7473
This is the recommended way of markup customization.
75-
For example, to add class="navigation-item navigation-item-X" to each link item, where X is the depth level of the given link, you can add the following line to your copy of navigation_item.php:
74+
For example, to add class="navigation-item navigation-item-X" to each link item, where X is the depth level of the given link, you can add the following line to your copy of navigation_item.php:
7675

7776
```php
7877
$attributes['class']='navigation-item navigation-item-' . $depth;

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "chrisbeluga/kirby-navigation",
3-
"description": "Kirby 4 field for hierarchical menus with drag & drop level indentation.",
3+
"description": "Kirby 5 field for hierarchical menus with drag & drop level indentation.",
44
"type": "kirby-plugin",
55
"keywords": [
66
"kirby-plugin",
77
"navigation",
88
"menu",
99
"field"
1010
],
11-
"version": "4.2.0",
11+
"version": "5.0.0",
1212
"license": "MIT",
1313
"homepage": "https://github.com/chrisbeluga/kirby-navigation",
1414
"authors": [
@@ -28,7 +28,7 @@
2828
{
2929
"name": "Immo Seebörger",
3030
"homepage": "https://diesachbearbeiter.de/"
31-
}
31+
}
3232
],
3333
"require": {
3434
"php": ">=8.1.0 <8.5.0",

0 commit comments

Comments
 (0)