small improvements in template display
This commit is contained in:
parent
7268df2449
commit
d3a4fc9693
@ -480,6 +480,14 @@ article form {
|
|||||||
|
|
||||||
li {
|
li {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
|
||||||
|
ul {
|
||||||
|
margin-top: calc(var(--pico-typography-spacing-vertical) * 0.25);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
li:has(+li>ul) {
|
||||||
|
margin-bottom: var(--pico-typography-spacing-vertical);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -20,9 +20,10 @@
|
|||||||
<div id="content-body">
|
<div id="content-body">
|
||||||
<div class="body-column-text">
|
<div class="body-column-text">
|
||||||
{% if article.content | length is not eq(0) %}
|
{% if article.content | length is not eq(0) %}
|
||||||
{{ article.content }}
|
{{ article.content }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if article.stats or article.tags %}
|
{% if article.stats or article.tags %}
|
||||||
|
<br/>
|
||||||
<div>
|
<div>
|
||||||
<h2>Details</h2>
|
<h2>Details</h2>
|
||||||
<ul class="article-stats">
|
<ul class="article-stats">
|
||||||
@ -33,6 +34,12 @@
|
|||||||
{% if article.stats.series %}
|
{% if article.stats.series %}
|
||||||
<li>aus der Reihe "{{ article.stats.series }}"</li>
|
<li>aus der Reihe "{{ article.stats.series }}"</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if article.stats.issue %}
|
||||||
|
<li>Ausgabe {{ article.stats.issue }}</li>
|
||||||
|
{% endif %}
|
||||||
|
{% if article.stats.editor %}
|
||||||
|
<li>herausgegeben von {{ article.stats.editor }}</li>
|
||||||
|
{% 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 %}
|
||||||
{% if p.title %}
|
{% if p.title %}
|
||||||
@ -68,7 +75,7 @@
|
|||||||
<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 %}
|
{% if p.link and p.link_text %}
|
||||||
<li><a href="{{ p.link }}">{{ p.link_text }}</a></li>
|
<li><a href="{{ p.link }}" target="_blank">{{ p.link_text }}</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if p.title %}
|
{% if p.title %}
|
||||||
</ul>
|
</ul>
|
||||||
@ -81,7 +88,7 @@
|
|||||||
<li>Schlagworte:
|
<li>Schlagworte:
|
||||||
<ul class="article-tags">
|
<ul class="article-tags">
|
||||||
{% for t in article.tags %}
|
{% for t in article.tags %}
|
||||||
<li><a href="/tag/{{ t | lower }}/">{{ t }}</a></li>
|
<li><a href="/tag/{{ t | lower | replace('- ', '-') | replace(' ', '-') }}/">{{ t }}</a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
@ -98,8 +105,10 @@
|
|||||||
{{ 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) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if article.klappentext %}
|
{% if article.klappentext %}
|
||||||
<h2>Klappentext</h2>
|
<div>
|
||||||
<blockquote>{{ article.klappentext }}</blockquote>
|
<h2>Klappentext</h2>
|
||||||
|
<blockquote>{{ article.klappentext }}</blockquote>
|
||||||
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
{% block content_header %}
|
{% block content_header %}
|
||||||
<div class="extra-header">
|
<div class="extra-header">
|
||||||
<h1>{{ tag }} (Schlagwort)</h1>
|
<h1>Schlagwort: {{ tag }}</h1>
|
||||||
</div>
|
</div>
|
||||||
{% endblock content_header %}
|
{% endblock content_header %}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user