Reworked the main page and added posts page.