{% if post.epub %}<spanclass="bib-orig">{% for item in post.epub %}[{% set urls = item.split(", ") %}{% for url in urls %}{% if "http" in url %}<ahref="{{ url }}">{{ url.split('://')[1].split('/')[0] }}</a>{% else %}<ahref="/lib/epub/{{ url }}">EPUB</a>{% endif %}{% if not loop.last %}, {% endif %}{% endfor %}] {% endfor %}</span>{% endif %}
{% if post.orig %}<spanclass="bib-orig">{% for item in post.orig %}({% set urls = item.split(", ") %}{% for url in urls %}{% if "http" in url %}<ahref="{{ url }}">{{ url.split('://')[1].split('/')[0] }}</a>{% else %}<ahref="/lib/cache/{{ url }}">cached</a>{% endif %}{% if not loop.last %}, {% endif %}{% endfor %}) {% endfor %}</span>{% endif %}<br>