ID: 97f37bdfc0a4571fb7e0cddf92fe4887d09ae318
45 lines
—
1K —
View raw
| {% extends "base.html" %}
{% block title %}{{ data['library:title'] }}{% endblock %}
{% block body %}
<div class="library_item">
<div class="header">
<a href="/library">DOKK Library</a>
</div>
<object type="application/pdf" data="https://blob.dokk.org/{{ data['blob:at']['@id'][8:] }}"></object>
<div class="info">
<h1>{{ data["library:title"] }}</h1>
<p>
<b>Authors</b>
{% for author in data["library:author"]|sort() %}
{{ author }},
{% endfor%}
</p>
{% if 'library:journal' in data %}
<p>
<b>Journal</b>
{{ data['library:journal']['library:title'] }}
</p>
{% endif %}
<p>
<b>License</b>
{% for license in data["license:licensed_under"]|sort(attribute="license:id") %}
<a href="{{ url('license', id=license['license:id']) }}">{{ license['license:id'] }}</a>
{% endfor%}
</p>
</div>
<details open>
<summary>Plaintext</summary>
<pre>{{ data["blob:at"]["blob:pdftotext"] }}</pre>
</details>
</div>
{% endblock %}
|