refactoring the footer slightly and adding page types to load masonry