diff --git a/bookwyrm/templates/user/layout.html b/bookwyrm/templates/user/layout.html old mode 100644 new mode 100755 diff --git a/bookwyrm/templates/user/layout_without_bio.html b/bookwyrm/templates/user/layout_without_bio.html new file mode 100755 index 00000000..d76cdc7c --- /dev/null +++ b/bookwyrm/templates/user/layout_without_bio.html @@ -0,0 +1,58 @@ +{% extends 'layout.html' %} +{% load i18n %} +{% load humanize %} +{% load utilities %} +{% load markdown %} +{% load layout %} + +{% block title %}{{ user.display_name }}{% endblock %} + +{% block opengraph_images %} + {% include 'snippets/opengraph_images.html' with image=user.preview_image %} +{% endblock %} + +{% block content %} +
+ {% block header %} +

+ {% trans "User Profile" %} +

+ {% endblock %} +
+ + +{% block tabs %} +{% with user|username as username %} + +{% endwith %} +{% endblock %} + +{% block panel %}{% endblock %} + +{% endblock %} diff --git a/bookwyrm/templates/user/lists.html b/bookwyrm/templates/user/lists.html old mode 100644 new mode 100755 diff --git a/bookwyrm/templates/user/shelf/shelf.html b/bookwyrm/templates/user/shelf/shelf.html index 2163db8c..6f0babd4 100644 --- a/bookwyrm/templates/user/shelf/shelf.html +++ b/bookwyrm/templates/user/shelf/shelf.html @@ -1,4 +1,4 @@ -{% extends 'user/layout.html' %} +{% extends 'user/layout_without_bio.html' %} {% load bookwyrm_tags %} {% load utilities %} {% load humanize %} diff --git a/bookwyrm/templates/user/user.html b/bookwyrm/templates/user/user.html old mode 100644 new mode 100755 diff --git a/bookwyrm/templates/user/user_preview.html b/bookwyrm/templates/user/user_preview.html old mode 100644 new mode 100755