Syntax error
<section class="df-searchdomain {f:if(condition: '{dFSearchDomain.stretch} == \'1\'', then: 'stretch')} {f:if(condition: '{dFSearchDomain.title} == \'\'', then: 'minimized')}">
<section class="df-searchdomain {f:if(condition: '{dFSearchDomain.stretch} == \'1\'', then: 'stretch')} {f:if(condition: '{dFSearchDomain.title} == \'\'', then: 'minimized')}">