{% macro tagselection(submit_name, selected_tags, all_tags) %} {% for selected_tag in selected_tags | sort %} {% endfor %} {% for tag in all_tags %} {% endfor %} {% endmacro %} {% macro sort_head(sort, name_internal, display_name, sort_key="sort") %} {{display_name}} {% endmacro %} {% macro doneness_string(todo, respect_cancelled=false, datalist_hack=false) %} [{% if todo.done and not (respect_cancelled and "cancelled" in todo.tags) %}✓{% else %}{% if datalist_hack %}  {% else %} {% endif %}{% endif %}] {% endmacro %} {% macro datalist_tasks(tasks, with_weight=false) %} {% for task in tasks %} {% endfor %} {% endmacro %} {% macro parenthood_selector(parenthood) %}parenthood: {% endmacro %}