It would be possible by adding another wrapper:
```
/var/www/{{ project_name}}/
    code/
    env/
    log/
    public/
```
Keeping the ``public`` outside of the repo directory keeps the permissions cleaner since ``www-data`` does need/get write access to anything in the repo tree.