{% if doc['targets'] %}
({% for i, (target, link) in enumerate(doc['targets'].items()) %}{{ target.replace('.', '') }}{% if i < len(doc['targets']) - 1 %}, {% end %}{% end %})
{% end %}
{{ doc['date'].strftime('%b %d, %Y') }}
{{ doc['date'].strftime('(%I:%M%p)') }}
{% if doc['subdocs'] %}
{% for subdoc in doc['subdocs'] %}
{% module Template("tree_item.html", doc=subdoc)%}
{% end %}
{% end %}