{{ note.uploaded_at|date:"l, F j, Y" }}
{% if note_preview %}
{{ note_preview|safe }} …
{% elif note.text|length <= 500 %}
{{ note.text }}
{% else %}
{{ note.text|slice:":500" }} …
{% endif %}
{% if note.category %}
{{ note.get_category_display }}
{% endif %}
{% if note.tags.count > 0 %}
Tags:
{% for tag in note.tags.all %}
{{ tag.name }}{% if not forloop.last %}, {% endif %}
{% endfor %}
{% endif %}