summaryrefslogtreecommitdiffstats
path: root/Templates.md
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2021-07-10 22:35:37 +0200
committerThomas Lange <code@nerdmind.de>2021-07-10 22:35:37 +0200
commitec8b209f8e078835029d90930d6c1305cd5b8743 (patch)
treeaff0e49b89c7683c0eaf093dc0487e5450e5adf3 /Templates.md
parent4490330658ffa05f3709c078224c4607acf0b4bd (diff)
downloadwiki-ec8b209f8e078835029d90930d6c1305cd5b8743.tar.gz
wiki-ec8b209f8e078835029d90930d6c1305cd5b8743.tar.xz
wiki-ec8b209f8e078835029d90930d6c1305cd5b8743.zip
Update documentation
Diffstat (limited to 'Templates.md')
-rw-r--r--Templates.md15
1 files changed, 3 insertions, 12 deletions
diff --git a/Templates.md b/Templates.md
index 841287f..d27d5ac 100644
--- a/Templates.md
+++ b/Templates.md
@@ -8,8 +8,7 @@
│   │   ├── list.php
│   │   └── main.php
│   ├── feed
- │   │   ├── item_page.php
- │   │   ├── item_post.php
+ │   │   ├── item.php
│   │   └── main.php
│   ├── home.php
│   ├── main.php
@@ -212,17 +211,9 @@ Contains the site navigation for post, page and user list (and for the home temp
## Feed Template `html/feed/main.php`
Basic framework of the RSS feed in XML which contains a list of page and post items:
-* `$FEED['TYPE']`: Contains a string if a feed for a specific item group is requested (either `post` or `page`)
-* `$FEED['LIST']['POSTS']`: Contains a list of post items (or is empty when the "pages-only" feed is requested)
-* `$FEED['LIST']['PAGES']`: Contains a list of page items (or is empty when the "posts-only" feed is requested)
-
-## Feed Item Template [page] `html/feed/item_page.php`
-Represents a single page to display within the feed template.
-
-* `$PAGE`: [See reference for `@PAGE`]
-* `$USER`: [See reference for `@USER`]
+* `$FEED['LIST']['POSTS']`: Contains a list of post items
-## Feed Item Template [post] `html/feed/item_post.php`
+## Feed Item Template `html/feed/item.php`
Represents a single post to display within the feed template.
* `$POST`: [See reference for `@POST`]