fixed multiple posts showing on each page
Merge pull request #12 from robkellas/generate_html

fixed multiple posts showing on each page