diff --git a/static/2020-0011_19.jpg b/static/2020-0011_19.jpg new file mode 100644 index 0000000..d475383 Binary files /dev/null and b/static/2020-0011_19.jpg differ diff --git a/templates/base.html b/templates/base.html index ac6a1ec..39427a6 100644 --- a/templates/base.html +++ b/templates/base.html @@ -99,7 +99,7 @@
diff --git a/templates/index.html b/templates/index.html index 26b0d71..10aff3c 100644 --- a/templates/index.html +++ b/templates/index.html @@ -4,30 +4,15 @@ {% block content %} - - -
-
-
-

Title

-

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

-
-
-

Title

-

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

-
-
-
- -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/templates/manuscript.html b/templates/manuscript.html index d8f3858..1cda5c9 100644 --- a/templates/manuscript.html +++ b/templates/manuscript.html @@ -31,13 +31,15 @@

The Manuscript.

{% with document=page_obj.0 %} {% if document.attached_images.all %} {% for image in document.attached_images.all %} - - Cover page {{document.page_range}} - -

- {{ document.page_range }} ({{document.docside}}) -

+ {% if image.image_type == "recto" or image.image_type == "verso" %} + + Cover page {{document.page_range}} + +

+ {{ document.page_range }} ({{document.docside}}) +

+ {% endif %} {% endfor %} {% else %} {# Handle case where no images are attached #} @@ -150,4 +152,4 @@

The Manuscript.

-{% endblock content %} \ No newline at end of file +{% endblock content %}