From 5904832be1f86f1c29393703d29222ea9ce62159 Mon Sep 17 00:00:00 2001 From: HackerNCoder Date: Wed, 18 Sep 2024 18:16:25 +0200 Subject: [PATCH] Fix EPUB link in bib --- templates/bib.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/bib.html b/templates/bib.html index 6889558..9b8a5d8 100644 --- a/templates/bib.html +++ b/templates/bib.html @@ -12,7 +12,7 @@ {% for post in this.children %}
  • {{ post.title }} - {% if post.epub %}[EPUB] {% endif %} + {% if post.epub %}[EPUB] {% endif %} {% if post.html %}[Read online]{% endif %} {% if post.orig %}{% for item in post.orig %}(Source: {% set urls = item.split(", ") %}{% for url in urls %}{% if "http" in url %}{{ url.split('://')[1].split('/')[0] }}{% else %}cached{% endif %}{% if not loop.last %}, {% endif %}{% endfor %}) {% endfor %}{% endif %}
    {% if post.subtitle %}{{ post.subtitle }}
    {% endif %}