diff --git a/bookwyrm/templates/followers.html b/bookwyrm/templates/followers.html index 09457408..a5fdfd82 100644 --- a/bookwyrm/templates/followers.html +++ b/bookwyrm/templates/followers.html @@ -1,7 +1,7 @@ {% extends 'layout.html' %} {% load fr_display %} {% block content %} -{% include 'user_header.html' with user=user %} +{% include 'snippets/user_header.html' with user=user %}

Followers

diff --git a/bookwyrm/templates/following.html b/bookwyrm/templates/following.html index 9131adea..c3bf976a 100644 --- a/bookwyrm/templates/following.html +++ b/bookwyrm/templates/following.html @@ -1,7 +1,7 @@ {% extends 'layout.html' %} {% load fr_display %} {% block content %} -{% include 'user_header.html' %} +{% include 'snippets/user_header.html' with user=user %}

Following

diff --git a/bookwyrm/templates/shelf.html b/bookwyrm/templates/shelf.html index 96279543..8e6cc9f8 100644 --- a/bookwyrm/templates/shelf.html +++ b/bookwyrm/templates/shelf.html @@ -1,7 +1,7 @@ {% extends 'layout.html' %} {% load fr_display %} {% block content %} -{% include 'user_header.html' with user=user %} +{% include 'snippets/user_header.html' with user=user %}
diff --git a/bookwyrm/templates/user_header.html b/bookwyrm/templates/snippets/user_header.html similarity index 100% rename from bookwyrm/templates/user_header.html rename to bookwyrm/templates/snippets/user_header.html diff --git a/bookwyrm/templates/user.html b/bookwyrm/templates/user.html index 3e409486..b6d808c8 100644 --- a/bookwyrm/templates/user.html +++ b/bookwyrm/templates/user.html @@ -1,9 +1,7 @@ {% extends 'layout.html' %} {% block content %} -
- {% include 'user_header.html' with user=user %} -
+{% include 'snippets/user_header.html' with user=user %}

Shelves

diff --git a/bookwyrm/templates/user_shelves.html b/bookwyrm/templates/user_shelves.html index af4f9d23..acda58ca 100644 --- a/bookwyrm/templates/user_shelves.html +++ b/bookwyrm/templates/user_shelves.html @@ -1,7 +1,7 @@ {% extends 'layout.html' %} {% load fr_display %} {% block content %} -{% include 'user_header.html' with user=user %} +{% include 'snippets/user_header.html' with user=user %}