inseven / incontext-python

Extensible static site generator
https://incontext.app
MIT License
4 stars 1 forks source link

fix: Return None for absent document properties #151

Closed jbmorley closed 3 years ago

jbmorley commented 3 years ago

It looks like there might have been a change in Jinja that means attribute errors are no longer swallowed, making it unsafe to access missing properties. This change addresses that by ensuring missing properties return None.