root page points to template code