server and index template