c9e7b2e layout.html: fix crash with Jinja>=3.0

Authored and Committed by kparal 2 years ago
    layout.html: fix crash with Jinja>=3.0
    
    Jinja>=3.0 now cares if a variable is not defined. The test suite passes again.