Updates to functionality of template rendering. Added global template tag to add site data to whole template without re-querying database