Support /local path with components and site templates