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