diff --git a/bookwyrm/templates/followers.html b/bookwyrm/templates/followers.html index 094574083..a5fdfd82a 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 9131adea1..c3bf976ab 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 962795437..8e6cc9f88 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 3e409486c..b6d808c86 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 af4f9d23f..acda58ca0 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 %}