template now displays more stats, multiple publications & more
This commit is contained in:
parent
da3b1b0759
commit
1258d0a352
@ -4,7 +4,7 @@
|
|||||||
{{ article.title }} - {{ SITENAME }}
|
{{ article.title }} - {{ SITENAME }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block metadesc %}
|
{% block metadesc %}
|
||||||
{% if article.summary %} {{ article.summary|e }} {% else %} An Article in {{ SITETAG }}: {{ article.title }}{% endif %}
|
{% if article.summary %}{{ article.summary | e }}{% else %}An Article in {{ SITETAG }}: {{ article.title }}{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content_all %}
|
{% block content_all %}
|
||||||
@ -30,36 +30,50 @@
|
|||||||
{# {% if article.date %}
|
{# {% if article.date %}
|
||||||
<li>Erstveröffentlichung: {{ article.date.strftime("%d.%m.%Y") }}</li>
|
<li>Erstveröffentlichung: {{ article.date.strftime("%d.%m.%Y") }}</li>
|
||||||
{% endif %} #}
|
{% endif %} #}
|
||||||
{% if article.stats.reihe is defined %}
|
{% if article.stats.series %}
|
||||||
<li>aus der Reihe "{{ article.stats.reihe }}"</li>
|
<li>aus der Reihe "{{ article.stats.series }}"</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if article.stats.published_in %}
|
{% if article.stats.published_in %}
|
||||||
{% for p in article.stats.published_in %}
|
{% for p in article.stats.published_in %}
|
||||||
<li>Veröffentlicht in <strong>{% if p.link %}<a href="{{ p.link }}" target="_blank">{% endif %}{{ p.title }}{% if p.link %}</a>{% endif %}</strong>
|
{% if p.title %}
|
||||||
|
{# <li>Veröffentlicht in <strong>{% if p.link %}<a href="{{ p.link }}" target="_blank">{% endif %}{{ p.title }}{% if p.link %}</a>{% endif %}</strong> #}
|
||||||
|
<li>Veröffentlicht in <strong>{{ p.title }}</strong>
|
||||||
<ul>
|
<ul>
|
||||||
|
{% endif %}
|
||||||
|
{% if p.date %}
|
||||||
|
<li>am {{ p.date.strftime("%d.%m.%Y") }}</li>
|
||||||
|
{% endif %}
|
||||||
{% if p.issue %}
|
{% if p.issue %}
|
||||||
<li>Ausgabe {{ p.issue }}</li>
|
<li>Ausgabe {{ p.issue }}</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if p.publisher %}
|
{% if p.publisher %}
|
||||||
<li>Verlag: {{ p.publisher }}</li>
|
<li>Verlag: {{ p.publisher }}</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if p.series %}
|
||||||
|
<li>aus der Reihe "{{ p.series }}"</li>
|
||||||
|
{% endif %}
|
||||||
{% if p.editor %}
|
{% if p.editor %}
|
||||||
<li>Herausgegeben von {{ p.editor }}</li>
|
<li>herausgegeben von {{ p.editor }}</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if p.isbn %}
|
{% if p.isbn %}
|
||||||
<li>ISBN: {{ p.isbn }}</li>
|
<li>ISBN: {{ p.isbn }}</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if p.date %}
|
{% if p.issn %}
|
||||||
<li>erschienen am {{ p.date.strftime("%d.%m.%Y") }}</li>
|
<li>ISSN: {{ p.issn }}</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if p.read_it_full %}
|
{% if p.read_it_full %}
|
||||||
<li><a href="{{ p.read_it_full }}">Volltext verfügbar</a></li>
|
<li><a href="{{ p.read_it_full }}">Volltext verfügbar</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if p.read_it_partial %}
|
{% if p.read_it_partial %}
|
||||||
<li><a href="{{ p.read_it_partial }}">Leseprobe verfügbar</a></li>
|
<li><a href="{{ p.read_it_partial }}">Leseprobe verfügbar</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if p.link and p.link_text %}
|
||||||
|
<li><a href="{{ p.link }}">{{ p.link_text }}</a></li>
|
||||||
|
{% endif %}
|
||||||
|
{% if p.title %}
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -78,7 +92,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="body-column-img">
|
<div class="body-column-img">
|
||||||
{% if article.featured_image is defined %}
|
{% if article.featured_image %}
|
||||||
{% from 'includes/macros.html' import fi %}
|
{% from 'includes/macros.html' import fi %}
|
||||||
{% set i = article.featured_image[0] %}
|
{% set i = article.featured_image[0] %}
|
||||||
{{ fi(i.pic, i.link, i.alt, i.title, i.credit, i.credit_link) }}
|
{{ fi(i.pic, i.link, i.alt, i.title, i.credit, i.credit_link) }}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user