Fix author in playlist
This commit is contained in:
parent
a465805cb9
commit
6188ba81a0
@ -37,6 +37,7 @@
|
|||||||
</a>
|
</a>
|
||||||
<h4 class="title"><a href="{{ info['url'] }}" title="{{ info['title'] }}">{{ info['title'] }}</a></h4>
|
<h4 class="title"><a href="{{ info['url'] }}" title="{{ info['title'] }}">{{ info['title'] }}</a></h4>
|
||||||
|
|
||||||
|
{% if include_author %}
|
||||||
{% set author_description = info['author'] %}
|
{% set author_description = info['author'] %}
|
||||||
{% set AUTHOR_DESC_LENGTH = 35 %}
|
{% set AUTHOR_DESC_LENGTH = 35 %}
|
||||||
{% if author_description|length >= AUTHOR_DESC_LENGTH %}
|
{% if author_description|length >= AUTHOR_DESC_LENGTH %}
|
||||||
@ -46,8 +47,6 @@
|
|||||||
{% set author_description = author_more|replace('"','') %}
|
{% set author_description = author_more|replace('"','') %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if include_author %}
|
|
||||||
{% if info.get('author_url') %}
|
{% if info.get('author_url') %}
|
||||||
<address title="{{ info['author'] }}"><b><a href="{{ info['author_url'] }}">{{ author_description }}</a></b></address>
|
<address title="{{ info['author'] }}"><b><a href="{{ info['author_url'] }}">{{ author_description }}</a></b></address>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user