fixup! Move publisher below author in book template

This commit is contained in:
HackerNCoder 2024-02-01 16:50:10 +01:00
parent 1d68c4cf31
commit 2b8665adb6

View file

@ -28,8 +28,8 @@
</div> </div>
<p class="bold text-3xl">{{ this.title }}</p> <p class="bold text-3xl">{{ this.title }}</p>
{% if this.subtitle %}<p class="subtitle">{{ this.subtitle }}</p>{% endif %} {% if this.subtitle %}<p class="subtitle">{{ this.subtitle }}</p>{% endif %}
{% if this.author %}<p class="italics">{{ this.author }}</p>{% endif %} {% if this.author %}<p>{{ this.author }}</p>{% endif %}
<p>{% if this.publisher %}{{ this.publisher }}, {% endif %}{{ this.pub_date }}</p> <p class="italics">{% if this.publisher %}{{ this.publisher }}, {% endif %}{{ this.pub_date }}</p>
{% if this.html %}<p class="mt-1"><a href="/lib/html/{{ this.html }}/">Read online</a></p>{% endif %} {% if this.html %}<p class="mt-1"><a href="/lib/html/{{ this.html }}/">Read online</a></p>{% endif %}
<div class="mt-2"> <div class="mt-2">
{% if this.epub %}<p>Download EPUB:</p>{% for item in this.epub %}<p>{% set urls = item.split(", ") %}{% for url in urls %}{% if "http" in url %}<a href="{{ url }}">{{ url.split('://')[1].split('/')[0] }}</a>{% else %}<a href="/lib/epub/{{ url }}">comlib.encryptionin.space</a>{% endif %}{% if not loop.last %}, {% endif %}{% endfor %}</p>{% endfor %}{% endif %} {% if this.epub %}<p>Download EPUB:</p>{% for item in this.epub %}<p>{% set urls = item.split(", ") %}{% for url in urls %}{% if "http" in url %}<a href="{{ url }}">{{ url.split('://')[1].split('/')[0] }}</a>{% else %}<a href="/lib/epub/{{ url }}">comlib.encryptionin.space</a>{% endif %}{% if not loop.last %}, {% endif %}{% endfor %}</p>{% endfor %}{% endif %}