set index base template and admin base template