cleaned up page and secondary page templates