Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
johnroper100 committed Mar 27, 2021
1 parent 78f04a8 commit 0512bb4
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,11 @@ Dropplets has two required files for templates:

- `home.php` is the page that lists the posts
- `post.php` is the page that displays a single post

There are a number of variables available for templates:

- `$siteConfig` is an array containing all of the site information
- `$allPosts` is an array containing all of the posts for page
- `$page` is the current page for pagination
- `$limit` is the number of posts to display per page
- `$post` is an array containing the data for one post

0 comments on commit 0512bb4

Please sign in to comment.