Skip to content

Commit fd3a599

Browse files
committed
Add README
1 parent e5a35fe commit fd3a599

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

README.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Kirby headline section
2+
3+
Kirby already comes with a built-in [headline field](https://getkirby.com/docs/reference/panel/fields/headline). But just like with the [info field](https://getkirby.com/docs/reference/panel/fields/info) that also exists as an [info section](https://getkirby.com/docs/reference/panel/sections/info), you sometimes need a headline as a **section** instead of a field.
4+
5+
This plugin provides that functionality, allowing you to add visual separation and organization to your Panel layouts without nested fields sections.
6+
7+
## Installation
8+
9+
### Composer
10+
11+
```bash
12+
composer require medienbaecker/kirby-headline-section
13+
```
14+
15+
### Manual
16+
17+
Download and copy this repository to `/site/plugins/kirby-headline-section`.
18+
19+
## Usage
20+
21+
Add the headline section to your blueprints:
22+
23+
```yml
24+
sections:
25+
_footer:
26+
label: Footer
27+
type: headline
28+
footer_pages:
29+
type: pages
30+
footer_fields:
31+
type: fields
32+
fields:
33+
footer_text:
34+
label: Footer Text
35+
type: text
36+
```

0 commit comments

Comments
 (0)