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