{% extends "base/base.html" %} {% block title %}notes{% endblock %} {% block styles %} {{ super() }} {% endblock %} {% block navbar %} {{ super() }} {% endblock %} {% block content %}
{% include('auth/snippets/info.html') %}
{% for note in notes %}

{{ note.title }}

{{ note.created_at }}
{% if note.body|length > 200 %}
{{ note.body[:500] + "\n..." }}
{% else %}
{{ note.body }}
{% endif %}
{% for tag in note.tags %} {% include "notes/snippets/tag.html" %} {% endfor %}
{% if not loop.last %}
{% endif %} {% endfor %}
{% endblock %} {% block scripts %} {{ super() }} {% endblock %}