ZIP html files need the correct folder

This commit is contained in:
HackerNCoder 2024-01-17 00:52:25 +01:00
parent 2a91dd39a3
commit a8b62743e4

View file

@ -12,7 +12,7 @@
<li class="bib">
<span class="bib-title">{{ post.title }}</span>
{% if post.epub %}<span class="bib-orig">{% for item in post.epub %}[{% 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 }}">EPUB</a>{% endif %}{% if not loop.last %}, {% endif %}{% endfor %}] {% endfor %}</span>{% endif %}
{% if post.html %}<span class="bib-orig">[<a href="/lib/html/{{ post.html }}">HTML</a>]</span>{% endif %}
{% if post.html %}<span class="bib-orig">[<a href="/lib/html/{{ post.html }}/">HTML</a>]</span>{% endif %}
{% if post.orig %}<span class="bib-orig">{% for item in post.orig %}({% 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/cache/{{ url }}">cached</a>{% endif %}{% if not loop.last %}, {% endif %}{% endfor %}) {% endfor %}</span>{% endif %}<br>
{% if post.subtitle %}<span class="bib-small-txt">{{ post.subtitle }}</span><br>{% endif %}
{% if post.author %}<span class="bib-small-txt">by {{ post.author }}</span><br>{% endif %}