{% macro format_task(task) %} {% if task["due"] %} {{task["due"] | format_date}}: {% endif %} {{task["description"] | e}} {{ label(task) }} {% endmacro %} {% macro label(task) %} {% if task["urgency"]|float > 5 %} Urgent {% endif %} {% if task["priority"] and task["priority"] == 'H' %} Important {% endif %} {% endmacro %}
Books | Movies | Music |
---|---|---|
|
{% endfor %}