Skip to content

Commit

Permalink
remove composer.json and store info in index.php for kirby 4.3.0 instead
Browse files Browse the repository at this point in the history
  • Loading branch information
animaux committed Jun 5, 2024
1 parent b2811a3 commit 24e255a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 17 deletions.
17 changes: 0 additions & 17 deletions composer.json

This file was deleted.

7 changes: 7 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
$debug = '';

Kirby::plugin('animaux/devkit', [
name: 'animaux/devkit',
version: '0.4.1',
info: [
'description' => 'Get easily accessible info on variables and data in frontend for template development.',
'homepage' => 'https://github.com/animaux/kirby-devkit',
'license' => 'MIT',
],

'hooks' => [
'page.render:after' => function (string $contentType, array $data, $html, Kirby\Cms\Page $page) {
Expand Down

0 comments on commit 24e255a

Please sign in to comment.