{% for logbookentry in cave.logbookentry_set.all %} {% if logbookentry.title %} {% endif %} {% endfor %}
{{logbookentry.date}} {{logbookentry.title|safe}}