diff --git a/site/collections/notes.php b/site/collections/notes.php index 5d298a7..a40e79f 100755 --- a/site/collections/notes.php +++ b/site/collections/notes.php @@ -1,5 +1,11 @@ children() diff --git a/site/controllers/notes.php b/site/controllers/notes.php index 101573d..2063568 100755 --- a/site/controllers/notes.php +++ b/site/controllers/notes.php @@ -12,6 +12,12 @@ return function ($page) { $tag = urldecode(param('tag')); + /** + * We use the collection helper to fetch the notes collection defined in `/site/collections/notes.php` + * + * More about collections: + * http://getkirby.test/docs/guide/templates/collections + */ $notes = collection('notes'); if (empty($tag) === false) {