{% block title %}BookWyrm{% endblock %} | {{ site.name }}
{% if preview_images_enabled is True %}
{% else %}
{% endif %}
{% block opengraph_images %}
{% include 'snippets/opengraph_images.html' %}
{% endblock %}
{% 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 %}