diff --git a/templates/bib.html b/templates/bib.html index 77fe520..290ed9f 100644 --- a/templates/bib.html +++ b/templates/bib.html @@ -11,7 +11,7 @@ {% for post in this.children %}
  • {{ post.title }} - {% if post.epub %}{% for item in post.epub %}[{% set urls = item.split(", ") %}{% for url in urls %}{% if "https://" in url %}{{ url.split('https://')[1].split('/')[0] }}{% else %}EPUB{% endif %}{% if not loop.last %}, {% endif %}{% endfor %}] {% endfor %}{% endif %} + {% if post.epub %}{% for item in post.epub %}[{% set urls = item.split(", ") %}{% for url in urls %}{% if "https://" in url %}{{ url.split('https://')[1].split('/')[0] }}{% else %}EPUB{% endif %}{% if not loop.last %}, {% endif %}{% endfor %}] {% endfor %}{% endif %} {% if post.orig %}{% for item in post.orig %}({% set urls = item.split(", ") %}{% for url in urls %}{% if "https://" in url %}{{ url.split('https://')[1].split('/')[0] }}{% else %}cached{% endif %}{% if not loop.last %}, {% endif %}{% endfor %}) {% endfor %}{% endif %}
    {% if post.subtitle %}"{{ post.subtitle }}"
    {% endif %} {% if post.author %}by {{ post.author }}
    {% endif %}