Wie kann ich in meinem episode-list Template die Ausgabe auf eine Show (Beta 2.7) begrenzen? Ich nutze zur Zeit dieses template:
> {# @core/shortcode/episode-list.twig #}
>
> <table>
> <thead>
> <th width=10%></th>
> <th width=15%>Date</th>
> <th width=10%>Nr</th>
> <th width=30%>Title</th>
> <th width=15%>Duration</th>
> </thead>
> <tbody>
> {% for episode in podcast.episodes %}
> <tr class="podcast_archive_element">
> <td class="thumbnail">
> {{ episode.image({fallback: true}).html({width: 64, height: 64}) }}
> <td class="date">
> <span class="release_date">
> {{ episode.publicationDate }}
> </span>
> </td>
> <td class="episode">
> <span class="episode_number">
> {{ episode.number }}
> </span>
> </td>
> <td class="title">
> <a href="{{ episode.url }}">
> <strong>{{ episode.title }}</strong><br>
> {{ episode.subtitle }}
> </a>
> </td>
> <td class="duration">
> {% set duration = episode.duration %}
> {{ duration.hours }}:{{ duration.minutes|padLeft("0",2) }}:{{ duration.seconds|padLeft("0",2) }}
> </td>
> </tr>
> {% endfor %}
> </tbody>
> </table>
>
> <style type="text/css">
> .podcast_archive_element .thumbnail {
> width: 64px;
> padding: 5px !important;
> }
>
> .podcast_archive_element td {
> vertical-align: top;
> }
> </style>