tellicoViewer/templates/book.html

9 lines
285 B
HTML

<!doctype html>
<title>{{book["title"]}}</title>
{% if book["image"] is not equalto "" %}
<p> cover: <img src="{{ url_for('static', filename="library_files/" + book["image"]) }}"> </p>
{% endif %}
{% for datum in (book|dictsort) %}
<p> {{datum[0]}}: {{ datum[1] }} </p>
{% endfor %}