{% block bookshelf %}
<div id="bookshelf">
{% for id, pubinfo in publications.items() %}
	<div id="{{ id }}" class='book filter {{ pubinfo["Type"] }} {{ pubinfo["Year"] }} {{ pubinfo["License"] }}'>
		<table>
			<tbody>
				{%if pubinfo["Image"]%}
				<tr>
					<td colspan="2" class="tdimage">
						<img src="{{ url_for('static', filename='images/image-{0}.jpg'.format(id))}}" alt="">
					</td>
				</tr>
				{% endif %}
		    <tr>
					<td class="author">Author/Editor:</td>
					<td>{{ pubinfo["Author"] }}</td>
		    </tr>
				<tr>
					<td class="title">Title:</td>
					<td><a href='{{ id }}'>{{ pubinfo["Title"] }}</a></td>
				</tr>
			</tbody>
		</table>
	</div>
{% endfor%}
</div>
<script src="{{ url_for('static', filename='js/dropdown.js')}}"></script>
<script src="{{ url_for('static', filename='js/search.js')}}"></script>
{% endblock bookshelf %}