Make template path relative.