Dont show None if bio is missing
This commit is contained in:
@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user