tellicoViewer/templates/book.html

11 lines
346 B
HTML
Raw Normal View History

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