small improvements in template display
This commit is contained in:
parent
7268df2449
commit
d3a4fc9693
@ -480,6 +480,14 @@ article form {
|
||||
|
||||
li {
|
||||
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 class="body-column-text">
|
||||
{% if article.content | length is not eq(0) %}
|
||||
{{ article.content }}
|
||||
{{ article.content }}
|
||||
{% endif %}
|
||||
{% if article.stats or article.tags %}
|
||||
<br/>
|
||||
<div>
|
||||
<h2>Details</h2>
|
||||
<ul class="article-stats">
|
||||
@ -33,6 +34,12 @@
|
||||
{% if article.stats.series %}
|
||||
<li>aus der Reihe "{{ article.stats.series }}"</li>
|
||||
{% 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 %}
|
||||
{% for p in article.stats.published_in %}
|
||||
{% if p.title %}
|
||||
@ -68,7 +75,7 @@
|
||||
<li><a href="{{ p.read_it_partial }}">Leseprobe verfügbar</a></li>
|
||||
{% endif %}
|
||||
{% 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 %}
|
||||
{% if p.title %}
|
||||
</ul>
|
||||
@ -81,7 +88,7 @@
|
||||
<li>Schlagworte:
|
||||
<ul class="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 %}
|
||||
</ul>
|
||||
</li>
|
||||
@ -98,8 +105,10 @@
|
||||
{{ fi(i.pic, i.link, i.alt, i.title, i.credit, i.credit_link) }}
|
||||
{% endif %}
|
||||
{% if article.klappentext %}
|
||||
<h2>Klappentext</h2>
|
||||
<blockquote>{{ article.klappentext }}</blockquote>
|
||||
<div>
|
||||
<h2>Klappentext</h2>
|
||||
<blockquote>{{ article.klappentext }}</blockquote>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
{% block content_header %}
|
||||
<div class="extra-header">
|
||||
<h1>{{ tag }} (Schlagwort)</h1>
|
||||
<h1>Schlagwort: {{ tag }}</h1>
|
||||
</div>
|
||||
{% endblock content_header %}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user