{% 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 %} Task report
{% for section in section_list %}

{{ section["title"] | e}}

{% if section["title"] == "Emails" %} {% for grouper, list in section["task_list"] | groupby("project") %}

{{grouper | e}}

{% endfor %} {% elif section["title"] == "Coding" %}

Bugs

Feature requests

Packaging

{% elif section["title"] == "Recommendations" %} {% for column in ["book", "movie", "music"] %} {% endfor %}
BooksMoviesMusic
    {% for task in section["task_list"] if column in task["tags"] %}
  • {{task["description"] | e}}
  • {% endfor %}
{% else %} {% endif %} {% endfor %}