diff options
-rw-r--r-- | Templates.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Templates.md b/Templates.md index d0a4529..d58e6b1 100644 --- a/Templates.md +++ b/Templates.md @@ -50,6 +50,20 @@ Basic framework of the HTML document which contains the main content: * `$HEAD['OG_IMAGES']`: Contains a list of image URLs for the document * `$HTML`: Contains the documents main body (other templates) +**If you are on a page, post or user site:** +* `$TYPE`: Contains either `PAGE`, `POST` or `USER` as string value. + +**If `$TYPE` is `PAGE`:** +* `$PAGE`: [See reference for `@PAGE`] +* `$USER`: [See reference for `@USER`] + +**If `$TYPE` is `POST`:** +* `$POST`: [See reference for `@POST`] +* `$USER`: [See reference for `@USER`] + +**If `$TYPE` is `USER`:** +* `$USER`: [See reference for `@USER`] + ## Home Template `html/home.php` This is the default startpage template which contains a list with the last posts. |