Skip to content

Commit 5a1ec52

Browse files
evolkmannbastianallgeier
authored andcommitted
docs: panel-area link target
Add the `target` option and clarify that absolute URLs are possible (e.g. for external links to analytics, etc.)
1 parent de039bd commit 5a1ec52

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

content/docs/2_reference/7_plugins/1_extensions/0_panel-areas/reference-extension.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,12 @@ Kirby::plugin('yourname/todos', [
4848
// show / hide from the menu
4949
'menu' => true,
5050

51-
// link to the main area view
51+
// link to the main area view (can also be an absolute URL)
5252
'link' => 'todos',
5353

54+
// optional; to open the link in a new tab
55+
'target' => '_blank',
56+
5457
// views
5558
'views' => [
5659
[

0 commit comments

Comments
 (0)