fixing css references, adding subpage template