diff options
author | Thomas Lange <code@nerdmind.de> | 2017-10-24 21:18:50 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2017-10-24 21:18:50 +0200 |
commit | ee1872c79e265622055ad306bd9928a80ca1b3f7 (patch) | |
tree | 13f1da27c4ce76e632624097135346b0761367eb | |
parent | 89dcbebe875e6bb9d81b7ca8b8ffea45ea245927 (diff) | |
download | wiki-ee1872c79e265622055ad306bd9928a80ca1b3f7.tar.gz wiki-ee1872c79e265622055ad306bd9928a80ca1b3f7.tar.xz wiki-ee1872c79e265622055ad306bd9928a80ca1b3f7.zip |
Documentation updated.
-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. |