+ {{ site.instance_description | safe }} +
+diff --git a/bookwyrm/connectors/openlibrary.py b/bookwyrm/connectors/openlibrary.py index ee7c6271..55355131 100644 --- a/bookwyrm/connectors/openlibrary.py +++ b/bookwyrm/connectors/openlibrary.py @@ -108,7 +108,7 @@ class Connector(AbstractConnector): def get_cover_url(self, cover_blob): ''' ask openlibrary for the cover ''' cover_id = cover_blob[0] - image_name = '%s-M.jpg' % cover_id + image_name = '%s-L.jpg' % cover_id return '%s/b/id/%s' % (self.covers_url, image_name) diff --git a/bookwyrm/static/css/format.css b/bookwyrm/static/css/format.css index 5b5ff08d..83dafc28 100644 --- a/bookwyrm/static/css/format.css +++ b/bookwyrm/static/css/format.css @@ -67,11 +67,15 @@ input.toggle-control:checked ~ .modal.toggle-content { width: max-content; max-width: 250px; } +.cover-container.is-large { + height: 500px; + max-width: 500px; +} .cover-container.is-medium { - height: 150px; + height: 200px; } .cover-container.is-small { - height: 100px; + height: 150px; } @media only screen and (max-width: 768px) { .cover-container { diff --git a/bookwyrm/templates/discover.html b/bookwyrm/templates/discover.html new file mode 100644 index 00000000..855868de --- /dev/null +++ b/bookwyrm/templates/discover.html @@ -0,0 +1,97 @@ +{% extends 'layout.html' %} +{% load bookwyrm_tags %} +{% block content %} + +
Contact an administrator to get an invite
+ {% endif %} +{{ books.2|book_description|to_markdown|safe|truncatewords_html:50 }}+
{{ books.3|book_description|to_markdown|safe|truncatewords_html:50 }}+