forked from mirrors/bookwyrm
Fix case where there is no subtitle.
Consequentially change back author to being a subtitle.
This commit is contained in:
parent
cf751a8efa
commit
17635b47db
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
{% if book.subtitle or book.series %}
|
{% if book.subtitle or book.series %}
|
||||||
<p class="subtitle is-5 mb-1">
|
<p class="subtitle title is-5">
|
||||||
{% if book.subtitle %}
|
{% if book.subtitle %}
|
||||||
<meta
|
<meta
|
||||||
itemprop="alternativeHeadline"
|
itemprop="alternativeHeadline"
|
||||||
|
@ -36,7 +36,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if book.authors %}
|
{% if book.authors %}
|
||||||
<div>
|
<div class="subtitle">
|
||||||
{% trans "by" %} {% include 'snippets/authors.html' with book=book %}
|
{% trans "by" %} {% include 'snippets/authors.html' with book=book %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue