add rtl into index template