Add relative links to template dirs