move outside of authors "if"

This commit is contained in:
Braden Solt 2024-01-27 11:02:42 -07:00
parent 629acbaa19
commit 6add81cf15
6 changed files with 15 additions and 9 deletions

View file

@ -16,9 +16,10 @@ commented on <a href="{{ book_path }}">{{ book }}</a> by <a href="{{ author_path
commented on <a href="{{ book_path }}">{{ book }}</a>
{% endblocktrans %}
{% endif %}
{% if book.series %}
({{book.series}}{%if book.series_number %}, #{{book.series_number}}{% endif %})
{% endif %}
{% endif %}
{% endwith %}

View file

@ -16,9 +16,10 @@ quoted <a href="{{ book_path }}">{{ book }}</a> by <a href="{{ author_path }}">{
quoted <a href="{{ book_path }}">{{ book }}</a>
{% endblocktrans %}
{% endif %}
{% if book.series %}
({{book.series}}{%if book.series_number %}, #{{book.series_number}}{% endif %})
{% endif %}
{% endif %}
{% endwith %}

View file

@ -18,9 +18,10 @@ finished reading <a href="{{ book_path }}">{{ book }}</a> by <a href="{{ author_
finished reading <a href="{{ book_path }}">{{ book }}</a>
{% endblocktrans %}
{% endif %}
{% if book.series %}
({{book.series}}{%if book.series_number %}, #{{book.series_number}}{% endif %})
{% endif %}
{% endif %}
{% endspaceless %}

View file

@ -12,10 +12,6 @@ started reading <a href="{{ book_path }}">{{ book }}</a> by <a href="{{ author_p
{% endblocktrans %}
{% endwith %}
{% if book.series %}
({{book.series}} {%if book.series_number %}#{{book.series_number}}) {% endif %}
{% endif %}
{% else %}
{% blocktrans trimmed with book_path=book.local_path book=book|book_title %}
@ -23,4 +19,9 @@ started reading <a href="{{ book_path }}">{{ book }}</a>
{% endblocktrans %}
{% endif %}
{% if book.series %}
({{book.series}} {%if book.series_number %}#{{book.series_number}}) {% endif %}
{% endif %}
{% endspaceless %}

View file

@ -16,9 +16,10 @@ reviewed <a href="{{ book_path }}">{{ book }}</a> by <a href="{{ author_path }}"
reviewed <a href="{{ book_path }}">{{ book }}</a>
{% endblocktrans %}
{% endif %}
{% if book.series %}
({{book.series}}{%if book.series_number %}, #{{book.series_number}}{% endif %})
{% endif %}
{% endif %}
{% endwith %}

View file

@ -18,10 +18,11 @@ stopped reading <a href="{{ book_path }}">{{ book }}</a> by <a href="{{ author_p
stopped reading <a href="{{ book_path }}">{{ book }}</a>
{% endblocktrans %}
{% endif %}
{% if book.series %}
({{book.series}}{%if book.series_number %}, #{{book.series_number}}{% endif %})
{% endif %}
{% endif %}
{% endspaceless %}