isbn input forms
[wolnelektury.git] / src / isbn / templates / isbn / wl_dc_tags.html
1 {% extends "base/base.html" %}
2
3 {% block title %}Znaczniki ISBN{% endblock %}
4
5 {% block body %}
6
7   <h1>Znaczniki ISBN</h1>
8   <h2>{{ title }}</h2>
9 <code>{% for format, content_type, isbn in isbn_formats %}
10 &lt;dc:relation.hasFormat id="{{ format }}" xmlns:dc="http://purl.org/dc/elements/1.1/">https://wolnelektury.pl/{% if format == 'html' %}katalog/lektura{% else %}media/book/{{ format }}{% endif %}/{{ slug }}.{{ format }}&lt;/dc:relation.hasFormat><br>
11 &lt;meta refines="#{{ format }}" id="{{ format }}-id" property="dcterms:identifier">ISBN-{{ isbn }}&lt;/meta><br>
12 &lt;meta refines="#{{ format }}-id" property="identifier-type">ISBN&lt;/meta><br>
13   &lt;meta refines="#{{ format }}" property="dcterms:format">{{ content_type }}&lt;/meta><br>{% endfor %}</code>
14 {% endblock %}