Fixed layout of posts which were displaying the headers twice by removing the header in the else statement and explicitly setting the pagetitle as header for embedded, web, programming