From 547e1da7c5ae711f7157f318dd6c016c4f6487cb Mon Sep 17 00:00:00 2001 From: HackerNCoder Date: Sat, 16 Mar 2024 18:05:08 +0100 Subject: [PATCH] Move read online into div. Update SVG trans text --- templates/book.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/templates/book.html b/templates/book.html index 4a5bde9..f25f6d7 100644 --- a/templates/book.html +++ b/templates/book.html @@ -12,7 +12,8 @@ - Trans rights! + Trans rights + are human rights Comrades Library @@ -30,9 +31,9 @@ {% if this.subtitle %}

{{ this.subtitle }}

{% endif %} {% 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 %} + {% 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 %} {% if this.orig %}

Download source PDF:

{% for item in this.orig %}

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

{% endfor %}{% endif %}