Removed function calls from templates node and page and replaced with pre-process vars.