{% set now = 'now'|date('U') %} {%- if contest is null -%} no contest {%- else -%} {{ contest.countdownString }} {%- endif -%}