I am using cookiecutter 1.7.3
I want a way to have defaults in case an undefined variable in the template.
What I tried
using default filter in jinja
"github_username": "{{ cookiecutter.github_repo.owner.login|default('Your GitHub username here', true) }}"
or boolean
"github_username": "{{ cookiecutter.github_repo.owner.login or 'Your GitHub username here' }}"
None of this works. I still get undefined variable in template error.
Can advise?