Update template annotations

This commit is contained in:
Sonja Broda
2019-07-28 16:03:52 +02:00
parent aada11ac43
commit 65938de7d2
7 changed files with 14 additions and 0 deletions

View File

@@ -2,6 +2,8 @@
/**
* Templates render the content of your pages.
* They contain the markup together with some control structures like loops or if-statements.
* The `$page` variable always refers to the currently active page.
* To fetch the content from each field we call the field name as a method on the `$page` object, e.g. `$page->title()`.
* This template lists all all the subpages of the `notes` page with their title date sorted by date and links to each subpage.
* Snippets like the header, footer and intro contain markup used in multiple templates. They also help to keep templates clean.
* More about templates: https://getkirby.com/docs/guide/templates/basics