|
|
|
<div class="part">
|
|
|
|
|
|
|
|
<div class="img">
|
|
|
|
<img src="{{ imgsrc }}" />
|
|
|
|
<a href="https:{{ fullurl }}">{{ fullurl }}</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="text">
|
|
|
|
{{ text | safe }}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="metadata">
|
|
|
|
<h3>Metadata</h3>
|
|
|
|
{% for key, valuelist in printout_dict.items() %}
|
|
|
|
<div class="metadata_{{key}}">
|
|
|
|
{% if key == 'Date' %}
|
|
|
|
<span class="key">{{key}}</span>
|
|
|
|
<span class="value">{{valuelist.year}} {{valuelist.month}} {{valuelist.day}}</span>
|
|
|
|
{% elif key == 'page' %}
|
|
|
|
<span class="key">{{key|upper}}</span>
|
|
|
|
<span class="value">{{valuelist}}</span>
|
|
|
|
{% else %}
|
|
|
|
{% if valuelist|length > 0 %}
|
|
|
|
<span class="key">{{key|upper}}</span>
|
|
|
|
<span class="value">{{valuelist | join(", ")}}</span>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
</div>
|