Modularized the templates to use inheritance and avoid snippet repitition. Also add share buttons to the footer of every page