apply template to skeleton page