From ec8b209f8e078835029d90930d6c1305cd5b8743 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Sat, 10 Jul 2021 22:35:37 +0200 Subject: Update documentation --- Templates.md | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'Templates.md') 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`] -- cgit v1.2.3