<div class="credits_block">

{%- if series.credits[creditsblock].heading is defined %}
<h3 class="credits_heading">{{series.credits[creditsblock].heading}}</h3>
{%- endif %}

<div class="centered_credits">
{%- for credit in episode.credits[creditsblock] %}
<div>
{%- for line in credit %}
{%- if loop.first %}
<p>{{line}}</p>
{%- else %}
<p>{{line}}</p>
{%- endif %}
{%- endfor %}
</div>
{%- endfor %}
</div>
</div>
