Change template URLs to relative