Dont show None if bio is missing

This commit is contained in:
2023-03-02 11:26:31 -05:00
parent 0bd7ed4463
commit c84a3072be

View File

@ -18,8 +18,10 @@
{% endif %} {% endif %}
{% endif %} {% endif %}
<div style="float:left; width:600px; margin-left:10px; "> <div style="float:left; width:600px; margin-left:10px; ">
{% if artist.biography %}
<p>{{artist.biography|safe|linebreaks|truncatewords:160}}</p> <p>{{artist.biography|safe|linebreaks|truncatewords:160}}</p>
<hr/> <hr/>
{% endif %}
<p><a href="{{artist.mb_link}}">Musicbrainz</a></p> <p><a href="{{artist.mb_link}}">Musicbrainz</a></p>
</div> </div>
</div> </div>