From 1d68c4cf314ca472901a255ab2d3b2257a1d888f Mon Sep 17 00:00:00 2001 From: HackerNCoder Date: Thu, 1 Feb 2024 16:24:31 +0100 Subject: [PATCH] Move publisher below author in book template --- templates/book.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/book.html b/templates/book.html index 484b0ff..455f982 100644 --- a/templates/book.html +++ b/templates/book.html @@ -28,8 +28,8 @@

{{ this.title }}

{% if this.subtitle %}

{{ this.subtitle }}

{% 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 %}