diff --git a/templates/book.html b/templates/book.html index 6a83738..777ae09 100644 --- a/templates/book.html +++ b/templates/book.html @@ -29,7 +29,7 @@

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

{{ this.author }}

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

Download EPUB:

{% for item in this.epub %}

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

{% endfor %}{% endif %} {% if this.orig %}

Download source PDF:

{% for item in this.orig %}

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

{% endfor %}{% endif %}