{% if notes %} {% for note in notes %} {% endfor %}
Title Public Categories
{{note.title}} {% if note.public %} {% endif %} {% for category in note.categories.all %} #{{category.name}} {% endfor%}
{% else %}

No note to be shown.

{% endif %}