Converted common layout code to elements and implmeneted those elements in the post layout.
Added layout elements to the default layout