Added inpage template
Finished inpage