diff --git a/bookwyrm/templates/layout.html b/bookwyrm/templates/layout.html index fe3bc7f52..a7ea3923e 100644 --- a/bookwyrm/templates/layout.html +++ b/bookwyrm/templates/layout.html @@ -209,8 +209,11 @@
+ {# almost every view needs to know the user shelves #} + {% with request.user.shelf_set.all as user_shelves %} {% block content %} {% endblock %} + {% endwith %}