added posts and main.html