2023-06-11 00:04:07 +00:00
{% extends "layout.html" %}
{% block title %}{{ this.title }}{% endblock %}
{% block body %}
2023-06-11 18:51:57 +00:00
{% if this.body %}
< h2 class = "page-title" > {{ this.title }}< / h2 >
{{ this.body }}
{% else %}
< h2 > {{ this.title }}< / h2 >
{% endif %}
< ul class = "list-none" >
{% for post in this.children %}
< li class = "bib" >
< span class = "bib-title" > {{ post.title }}< / span >
2023-08-26 19:59:01 +00:00
{% if post.epub %}< span class = "bib-orig" > {% for item in post.epub %}[{% 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 }}" > EPUB< / a > {% endif %}{% if not loop.last %}, {% endif %}{% endfor %}] {% endfor %}< / span > {% endif %}
2023-10-16 13:42:56 +00:00
{% if post.orig %}< span class = "bib-orig" > {% for item in post.orig %}({% 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 %}) {% endfor %}< / span > {% endif %}< br >
2023-06-13 14:34:13 +00:00
{% if post.subtitle %}< span class = "bib-subtitle" > "{{ post.subtitle }}"< / span > < br > {% endif %}
2023-06-11 18:51:57 +00:00
{% if post.author %}< span class = "bib-author" > by {{ post.author }}< / span > < br > {% endif %}
{% if post.publisher %}< span class = "bib-publisher" > {{ post.publisher}}, < / span > {% endif %}< span class = "bib-pubdate" > {{ post.pub_date }}< / span >
< / li >
{% endfor %}
< / ul >
2023-06-11 00:04:07 +00:00
{% endblock %}