Design adjustments, new content and more

This commit is contained in:
Bastian Allgeier
2020-12-15 12:21:39 +01:00
parent c378376bc9
commit 4d7b192c94
103 changed files with 1695 additions and 1003 deletions
+4 -3
View File
@@ -1,12 +1,13 @@
<?php
/**
* Controllers allow you to separate the logic of your templates from your markup.
* This is especially useful for complex logic, but also in general to keep your templates clean.
*
* In this example, we define the `$gallery` variable which is passed to the template
* More about controllers: https://getkirby.com/docs/guide/templates/controllers
*
* More about controllers:
* https://getkirby.com/docs/guide/templates/controllers
*/
return function ($page) {
$gallery = $page->images()->sortBy('sort', 'filename');