Initial commit
adding template pre process page function