You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.0 KiB
HTML
32 lines
1.0 KiB
HTML
<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>
|