{% match quest %} {% when Some with (q) %} {% let viz %} {% let np %} {% if q.public -%} {% let viz = "public" %} {% let np = "private" %} {% else %} {% let viz = "private" %} {% let np = "public" %} {%- endif %} {% let status %} {% if q.watched -%} {% let status = "watched" %} {% else %} {% let status = "want to watch" %} {% endif %}
{{- status -}} {{- viz -}}
{% if q.watched %} {% else %} {% endif %}
{% when None %}
{% endmatch %}