diff options
Diffstat (limited to 'Templates.md')
-rw-r--r-- | Templates.md | 15 |
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`] |