{% block title %}BookWyrm{% endblock %} | {{ site.name }}
{% if request.user.is_authenticated and active_announcements.exists %}
{% for announcement in active_announcements %}
{% include 'snippets/announcement.html' with announcement=announcement %}
{% endfor %}
{% endif %}
{# almost every view needs to know the user shelves #}
{% with request.user.shelf_set.all as user_shelves %}
{% block content %}
{% endblock %}
{% endwith %}