{# Single album template #}
{% if post.thumbnail %} {{ post.title|e('html_attr') }} {% else %}
{% endif %}
{{ post.album_type|default('Album') }}

{{ post.title }}

{% if post.artist %}

{{ post.artist }}

{% endif %}
{% if post.release_date %} {{ post.release_date }} {% endif %} {% if post.track_count %} {{ post.track_count }} {{ post.track_count == 1 ? __('track', 'wp-fedistream') : __('tracks', 'wp-fedistream') }} {% endif %} {% if post.duration_formatted %} {{ post.duration_formatted }} {% endif %}
{% if post.genres is not empty %}
{% for genre in post.genres %} {{ genre.name }} {% endfor %}
{% endif %}
{% if post.tracks is not empty %}
{% for track in post.tracks %}
{{ track.track_number|default(loop.index) }}
{{ track.title }} {% if track.featured_artists %} {{ __('feat.', 'wp-fedistream') }} {{ track.featured_artists }} {% endif %}
{% if track.explicit %} E {% endif %} {% if track.duration_formatted %} {{ track.duration_formatted }} {% endif %}
{% endfor %}
{% endif %} {% if post.content %}

{{ __('About This Album', 'wp-fedistream') }}

{{ post.content|raw }}
{% endif %} {% if post.credits %}

{{ __('Credits', 'wp-fedistream') }}

{{ post.credits|raw }}
{% endif %} {% if post.license %}

{{ __('License:', 'wp-fedistream') }} {{ post.license.name }}

{% endif %}