<commit_before>{% extends "BprsStyleBundle::layout.html.twig" %}

{% block title%}{{ name|default('OKTO')~' | '~tag.text }}{% endblock %}
{%- block nav_head -%}
    {% include 'BprsStyleBundle::menu.html.twig' with {'selected': 'oktothek', 'dropdown': ''} %}
{%- endblock -%}

{% set body_class = "tagpage fullscreen-background" %}
{%- block body -%}
    <div id="top"></div>
    <main class="container-fluid">
        <div class="bg-bleur"></div>
        <header class="page-header">
            <h1>{{ 'oktothek_tag_header'|trans({'%title%': tag.text})}}</h1>
            {% if tag.episodes is not empty %}
                {% include "AppBundle:Default:_share.html.twig" with {'show_button': true, 'site_media': tag.episodes[0].posterframe(true)|thumb(720,1280) } %}
            {% endif %}
        </header>
        <div class="container content-bg">
            {% if episodes is not empty %}
                <section class="inc-pins">
                    <h2>{{ 'oktothek_tag_episode_header'|trans }}</h2>
                    {% include "AppBundle::Tag/episodeTag.html.twig" with {'episodes': tag.episodes} %}
                    {% if episodes|length > 5 %}
                        <a href="{{ path('oktothek_tag_episode_page', {'slug': tag.slug}) }}" class="pull-right more">
                            {{ 'oktothek_tag_more_results'|trans|raw }}
                        </a>
                    {% endif %}
                </section>
            {% endif %}
            {% if seriess is not empty %}
                <section class="inc-pins">
                    <div id="anchor_series"></div>
                    <h2>{{ 'oktothek_tag_series_header'|trans }}</h2>
                    {% include "AppBundle::Tag/seriesTag.html.twig" with {'seriess': seriess} %}
                    {% if seriess|length > 5 %}
                        <a href="{{ path('oktothek_tag_series_page', {'slug': tag.slug}) }}" class="pull-right more">
                            {{ 'oktothek_tag_more_results'|trans|raw }}
                        </a>
                    {% endif %}
                </section>
            {% endif %}
            {% if playlists is not empty %}
                <section class="inc-pins">
                    <div id="anchor_playlists"></div>
                    <h2>{{ 'oktothek_tag_playlists_header'|trans }}</h2>
                    {% include "AppBundle::Tag/playlistTag.html.twig" with {'playlists': playlists} %}
                    {% if seriess|length > 5 %}
                        <a href="{{ path('oktothek_tag_playlists_page', {'slug': tag.slug}) }}" class="pull-right more">
                            {{ 'oktothek_tag_more_results'|trans|raw }}
                        </a>
                    {% endif %}
                </section>
            {% endif %}
            {% if posts is not empty %}
                <section class="inc-posts">
                    <div id="anchor_posts"></div>
                    <h2>{{ 'oktothek_tag_posts_header'|trans }}</h2>
                    {% include "AppBundle::Tag/postsTag.html.twig" with {'posts': tag.posts} %}
                    {% if posts|length > 3 %}
                        <a href="{{ path('oktothek_tag_posts_page', {'slug': tag.slug}) }}" class="pull-right more">{{ 'oktothek_tag_more_results'|trans|raw }}</a>
                    {% endif %}
                </section>
            {% endif %}
            {% if pages is not empty %}
                <section class="inc-pages">
                    <div id="anchor_pages"></div>
                    <h2>{{ 'oktothek_tag_pages_header'|trans }}</h2>
                    {% include "AppBundle::Tag/pagesTag.html.twig" with {'pages': tag.pages} %}
                    {% if pages|length > 6 %}
                        <a href="{{ path('oktothek_tag_pages_page', {'slug': tag.slug}) }}" class="pull-right more">{{ 'oktothek_tag_more_results'|trans|raw }}</a><commit_msg>Tagseite Weiterlinks<commit_after>{% extends "BprsStyleBundle::layout.html.twig" %}

{% block title%}{{ name|default('OKTO')~' | '~tag.text }}{% endblock %}
{%- block nav_head -%}
    {% include 'BprsStyleBundle::menu.html.twig' with {'selected': 'oktothek', 'dropdown': ''} %}
{%- endblock -%}

{% set body_class = "tagpage fullscreen-background" %}
{%- block body -%}
    <div id="top"></div>
    <main class="container-fluid">
        <div class="bg-bleur"></div>
        <header class="page-header">
            <h1>{{ 'oktothek_tag_header'|trans({'%title%': tag.text})}}</h1>
            {% if tag.episodes is not empty %}
                {% include "AppBundle:Default:_share.html.twig" with {'show_button': true, 'site_media': tag.episodes[0].posterframe(true)|thumb(720,1280) } %}
            {% endif %}
        </header>
        <div class="container content-bg">
            {% if episodes is not empty %}
                <section class="inc-pins">
                    <h2>{{ 'oktothek_tag_episode_header'|trans }}</h2>
                    {% include "AppBundle::Tag/episodeTag.html.twig" with {'episodes': tag.episodes} %}
                    {% if episodes|length > 5 %}
                        <a href="{{ path('oktothek_tag_episode_page', {'slug': tag.slug}) }}" class="pull-right more hidden-xs">
                            {{ 'oktothek_tag_more_results'|trans|raw }} <span class="icon small-arrow-right"></span>
                        </a>
                        <a href="{{ path('oktothek_tag_episode_page', {'slug': tag.slug}) }}" class="right more visible-xs-block">
                            {{ 'oktothek_tag_more_results'|trans|raw }} <span class="icon small-arrow-right"></span>
                        </a>
                    {% endif %}
                </section>
            {% endif %}
            {% if seriess is not empty %}
                <section class="inc-pins">
                    <div id="anchor_series"></div>
                    <h2>{{ 'oktothek_tag_series_header'|trans }}</h2>
                    {% include "AppBundle::Tag/seriesTag.html.twig" with {'seriess': seriess} %}
                    {% if seriess|length > 5 %}
                        <a href="{{ path('oktothek_tag_series_page', {'slug': tag.slug}) }}" class="pull-right more hidden-xs">
                            {{ 'oktothek_tag_more_results'|trans|raw }}  <span class="icon small-arrow-right"></span>
                        </a>
                        <a href="{{ path('oktothek_tag_series_page', {'slug': tag.slug}) }}" class="right more visible-xs-block">
                            {{ 'oktothek_tag_more_results'|trans|raw }}  <span class="icon small-arrow-right"></span>
                        </a>
                    {% endif %}
                </section>
            {% endif %}
            {% if playlists is not empty %}
                <section class="inc-pins">
                    <div id="anchor_playlists"></div>
                    <h2>{{ 'oktothek_tag_playlists_header'|trans }}</h2>
                    {% include "AppBundle::Tag/playlistTag.html.twig" with {'playlists': playlists} %}
                    {% if seriess|length > 5 %}
                        <a href="{{ path('oktothek_tag_playlists_page', {'slug': tag.slug}) }}" class="pull-right more hidden-xs">
                            {{ 'oktothek_tag_more_results'|trans|raw }}  <span class="icon small-arrow-right"></span>
                        </a>
                        <a href="{{ path('oktothek_tag_playlists_page', {'slug': tag.slug}) }}" class="right more visible-xs-block">
                            {{ 'oktothek_tag_more_results'|trans|raw }}  <span class="icon small-arrow-right"></span>
                        </a>
                    {% endif %}
                </section>
            {% endif %}
            {% if posts is not empty %}
                <section class="inc-posts">
                    <div id="anchor_posts"></div>
                    <h2>{{ 'oktothek_tag_posts_header'|trans }}</h2>
                    {% include "AppBundle::Tag/postsTag.html.twig" with {'posts': tag.posts} %}
                    {% if posts|length > 3 %}
                        <a href="{{ path('oktothek_tag_posts_page', {'slug': tag.slug}) }}" class="pull-right more hidden-xs">{{ 'oktothek_tag_more_results'|trans|raw }}  <span class="icon small-arrow-right"></span></a>
                        <a href="{{ path('oktothek_tag_posts_page', {'slug': tag.slug}) }}" class="right more visible-xs-block">{{ 'oktothek_tag_more_results'|trans|raw }}  <span class="icon small-arrow-right"></span></a>
                    {% endif %}
                </section>
            {% endif %}
            {% if pages is not empty %}
                <section class="inc-pages">
                    <div id="anchor_pages"></div>
                    <h2>{{ 'oktothek_tag_pages_header'|trans }}</h2>
                    {% include "AppBundle::Tag/pagesTag.html.twig" with {'pages': tag.pages} %}
                    {% if pages|length > 6 %}
                        <a href="{{ path('oktothek_tag_pages_page', {'slug': tag.slug}) }}" class="pull-right more hidden-xs">{{ 'oktothek_tag_more_results'|trans|raw }}  <span class="icon small-arrow-right"></span></a>
                        <a href="{{ path('oktothek_tag_pages_page', {'slug': tag.slug}) }}" class="right more visible-xs-block">{{ 'oktothek_tag_more_results'|trans|raw }}  <span class="icon small-arrow-right"></span></a>
{'fraction_non_alphanumeric': 0.17068744662681468, 'fraction_numerical': 0.00533731853116994, 'mean_word_length': 1.800896860986547, 'pattern_counts': {'":': 0, '<': 127, '<?xml version=': 0, '>': 137, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2394613', 'n_tokens_mistral': 2987, 'n_tokens_neox': 2737, 'n_words': 493}