From 2b8665adb6312bc1d4f2a2c29a88ec915c432b06 Mon Sep 17 00:00:00 2001 From: HackerNCoder Date: Thu, 1 Feb 2024 16:50:10 +0100 Subject: [PATCH] fixup! Move publisher below author in book template --- templates/book.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/book.html b/templates/book.html index 455f982..4a5bde9 100644 --- a/templates/book.html +++ b/templates/book.html @@ -28,8 +28,8 @@

{{ this.title }}

{% if this.subtitle %}

{{ this.subtitle }}

{% endif %} - {% if this.author %}

{{ this.author }}

{% endif %} -

{% if this.publisher %}{{ this.publisher }}, {% endif %}{{ this.pub_date }}

+ {% if this.author %}

{{ this.author }}

{% endif %} +

{% if this.publisher %}{{ this.publisher }}, {% endif %}{{ this.pub_date }}

{% if this.html %}

Read online

{% endif %}
{% if this.epub %}

Download EPUB:

{% for item in this.epub %}

{% set urls = item.split(", ") %}{% for url in urls %}{% if "http" in url %}{{ url.split('://')[1].split('/')[0] }}{% else %}comlib.encryptionin.space{% endif %}{% if not loop.last %}, {% endif %}{% endfor %}

{% endfor %}{% endif %}