{% extends 'base.html.twig' %} {% block title %}{{ story.title }} | Bajki TROPO{% endblock %} {% block meta_description %}{{ story.excerpt }}{% endblock %} {% from '_macros/image.html.twig' import picture %} {% block body %}
{# Nawigacja powrotna + przełącznik trybu nocnego #} {# Nagłówek #}
{{ 'stories.index.season'|trans({'%number%': story.season}) }} · {{ 'stories.show.episode'|trans({'%number%': story.episode}) }} {{ 'stories.show.reading_time'|trans({'%time%': story.readingTime}) }} {% if character %} {{ character.emoji }} {{ character.name }} {% endif %}

{{ story.title }}

{{ 'stories.show.download_pdf'|trans }} {% if is_granted('ROLE_ADMIN') %} Pobierz MD {% endif %}
{# Czytaj · Oglądaj · Słuchaj — only the formats this episode has #} {% set audio = story.audio ?? null %} {% if youtube_id or audio %}
{% if youtube_id %} {% endif %} {% if audio %} {% endif %}
{% if youtube_id %} {% endif %} {% if audio %} {% endif %}
{% endif %} {# Treść bajki — include odcinka #}
{% include episode_template %}
{# Następny odcinek #}
{% if story.nextEpisode %}

{{ 'stories.show.next_episode'|trans }}

{% if story.nextEpisode.slug %} {{ story.nextEpisode.title }} → {% else %}

{{ 'stories.show.coming_soon'|trans({'%title%': story.nextEpisode.title}) }}

{% endif %}
{% endif %} {# CTA #}

{{ 'stories.show.play_cta'|trans({'%name%': character ? character.name : 'Scoutem'}) }}

{{ 'stories.show.download'|trans }}
{% endblock %}