tellicoViewer/templates/book.html
Adam Goldsmith ab6b9bd247 change parsing to read type and flags
this means that everything can be parsed
2015-08-13 10:29:18 -04:00

11 lines
346 B
HTML

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