Fix a span that should have been a p

This commit is contained in:
HackerNCoder 2023-12-17 04:29:58 +01:00
parent bbbc273b66
commit 9d904cf5cc

View file

@ -29,7 +29,7 @@
<p class="bold text-3xl">{{ this.title }}</p>
{% if this.subtitle %}<p class="subtitle">{{ this.subtitle }}</p>{% endif %}
<p>{% if this.publisher %}{{ this.publisher }}, {% endif %}{{ this.pub_date }}</p>
{% if this.author %}<p class="italics">{{ this.author }}</span>{% endif %}
{% if this.author %}<p class="italics">{{ this.author }}</p>{% endif %}
<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 "https://" in url %}<a href="{{ url }}">{{ url.split('https://')[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.orig %}<p {% if this.epub %}class="mt-1"{% endif %}>Download source PDF:</p>{% for item in this.orig %}<p>{% set urls = item.split(", ") %}{% for url in urls %}{% if "https://" in url %}<a href="{{ url }}">{{ url.split('https://')[1].split('/')[0] }}</a>{% elif "http://" in url %}<a href="{{ url }}">{{ url.split('http://')[1].split('/')[0] }}</a>{% else %}<a href="/lib/cache/{{ url }}">cached</a>{% endif %}{% if not loop.last %}, {% endif %}{% endfor %}</p>{% endfor %}{% endif %}