Skip to content

Commit b2c263b

Browse files
feat: New query KirbyTag
1 parent 40d8f93 commit b2c263b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

config/tags.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,15 @@
237237
}
238238
],
239239

240+
/**
241+
* Query
242+
*/
243+
'query' => [
244+
'html' => function (KirbyTag $tag): string {
245+
return $tag->parent()->query($tag->value);
246+
}
247+
],
248+
240249
/**
241250
* Tel
242251
*/

0 commit comments

Comments
 (0)