Initial commit
This commit is contained in:
commit
388079e6bb
1108 changed files with 330121 additions and 0 deletions
17
site/plugins/notes-tag/index.php
Normal file
17
site/plugins/notes-tag/index.php
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
|
||||
Kirby::plugin('sarahgarcin/notes-tag', [
|
||||
'tags' => [
|
||||
'note' => [
|
||||
'attr' => [
|
||||
'note',
|
||||
],
|
||||
'html' => function($tag) {
|
||||
$note = $tag->attr('note');
|
||||
|
||||
return '<span class="footnote">'.$note.'</span>';
|
||||
|
||||
}
|
||||
]
|
||||
]
|
||||
]);
|
||||
Loading…
Add table
Add a link
Reference in a new issue