Modify one-page template to use global post data instead of variables.