Skip to content

Commit

Permalink
🩹 fix whitespace in blog author list
Browse files Browse the repository at this point in the history
  • Loading branch information
krmax44 authored and pajowu committed Nov 23, 2023
1 parent df2c8a5 commit 64d821f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions fragdenstaat_de/fds_blog/templates/fds_blog/_article_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ <h1 class="blog-header__title">
{% with authors=article.get_authors %}
{% if authors %}
<span> -
{# djlint:off #}
{% for author in authors %}
{% if author.get_absolute_url %}<a href="{{ author.get_absolute_url }}" rel="author">{% endif %}
{{ author.get_full_name }}
{% if author.get_absolute_url %}</a>{% endif %}
{% if not forloop.last %},{% endif %}
{% if author.get_absolute_url %}
<a href="{{ author.get_absolute_url }}" rel="author">
{% endif %}
{{ author.get_full_name }}{% if author.get_absolute_url %}</a>{% endif %}{% if not forloop.last %},{% endif %}
{% endfor %}
{# djlint:on #}
</span>
{% endif %}
{% endwith %}
Expand Down

0 comments on commit 64d821f

Please sign in to comment.