locals can be passed as `views` opts