forked from GithubBackups/vichan
page.html: add support for multiple subtitles
This commit is contained in:
parent
7ea504c7d3
commit
d10968a669
@ -16,8 +16,14 @@
|
|||||||
<h1>{{ title }}</h1>
|
<h1>{{ title }}</h1>
|
||||||
<div class="subtitle">
|
<div class="subtitle">
|
||||||
{% if subtitle %}
|
{% if subtitle %}
|
||||||
|
{% if subtitle is iterable %}
|
||||||
|
{% for s in subtitle %}
|
||||||
|
{{ s }}{% if not loop.last %}<br>{% endif %}
|
||||||
|
{% endfor %}
|
||||||
|
{% else %}
|
||||||
{{ subtitle }}
|
{{ subtitle }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endif %}
|
||||||
{% if mod and not hide_dashboard_link %}<p><a href="?/">{% trans %}Return to dashboard{% endtrans %}</a></p>{% endif %}
|
{% if mod and not hide_dashboard_link %}<p><a href="?/">{% trans %}Return to dashboard{% endtrans %}</a></p>{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user