<commit_before>
{% extends 'layout-2-1-bleedbar.html' %}

{% import 'molecules/related-posts.html' as related_posts with context %}

{% if not page %}
      {% set doc = get_document('posts', 'four-years-working-for-you') %}
      {% do global_dict.update(
        {
            'page':  {
                'seo_title': 'This is a prototype page for testing landing page layouts.',
                'related_posts': {
                    'posts': more_like_this(doc, search_types='posts', search_size=3),
                    }
                }
        })
      %}
      {% set page = global_dict.page %}
      {% set prototype = true %}
{% endif %}

{% block title -%}
    {{ page.seo_title }}
{%- endblock %}

{% block hero -%}
    {% if prototype %}
        {% include 'molecules/hero.html' %}
    {% endif %}
    {% for block in page.hero %}
        {{ render_stream_child(block) }}
    {% endfor %}
{% endblock %}

{% set lipsumText = lipsum(1, false, 10, 25) | safe %}
{% block content_main %}
    {% if page.introduction or prototype %}
        <div class="block
                 block__flush-top">
            {% if prototype %}
                {% include 'molecules/text-introduction.html' %}
            {% endif %}
            {% for block in page.introduction %}
                {{ render_stream_child(block) }}
            {% endfor %}
        </div>
    {% endif %}

    {% if page.image_text_50_50_content or prototype %}
        <div class="o-image-text-50-50-group">
            {% if page.image_text_50_50_group_header %}
                <h2 class="o-image-text-50-50-group__header">
                    {{ page.image_text_50_50_group_header }}
                </h2>
            {% endif %}

            {% if prototype %}
                {% for x in range(0, 2) %}
                    {% include 'molecules/image-text-50-50.html' %}
                {% endfor %}
            {% endif %}
            {% for block in page.image_text_50_50_content %}
                {{ render_stream_child(block) }}
            {% endfor %}
        </div>
    {% endif %}

    {% if page.image_text_25_75_content or prototype %}
        <div class="block">
            {% if page.image_text_25_75_group_header %}
                <h2 class="o-image-text-25-75-group__header">
                    {{ page.image_text_25_75_group_header }}
                </h2>
            {% endif %}

             {% if prototype %}
                {% for x in range(0, 3) %}
                    {% include 'molecules/image-text-25-75.html' %}
                {% endfor %}
            {% endif %}
            {% for block in page.image_text_25_75_content %}
                {{ render_stream_child(block) }}
            {% endfor %}
        </div>
    {% endif %}

    {% if page.wells or prototype %}
        <div class="block">
            {% if prototype %}
                {% include 'organisms/well.html' %}
            {% endif %}
            {% for block in page.wells %}
                    {{ render_stream_child(block) }}
            {% endfor %}
        </div>
    {% endif %}

    {% if page.half_width_link_blob_content or prototype %}
        <div class="o-link-blob-group">
            {% if page.half_width_link_blob_group_header %}
                <h2 class="o-half-width-link-blob-group__header">
                    {{ page.half_width_link_blob_group_header }}
                </h2>
            {% endif %}

            {% if prototype %}
                {% for x in range(0, 2) %}
                    {% include 'molecules/half-width-link-blob.html' %}
                {% endfor %}
            {% endif %}

            {% for block in page.half_width_link_blob_content %}
                {{ render_stream_child(block) }}
            {% endfor %}
        </div>
    {% endif %}
{% endblock %}

{% block content_sidebar_modifiers -%}
    o-content-sidebar
{%- endblock %}
{#
{% block content_sidebar scoped -%}
    {% for block in page.sidefoot %}
        {% if 'related_posts' in block.block_type %}
            {{ related_posts.render(block) }}
        {% else %}
            {{ render_stream_child(block) }}
        {% endif %}
    {% endfor %}

    {% for block in page.sidefoot %}
        {% if 'related_posts' in block.block_type %}
            {{ related_posts.render() }}
        {% else %}
            {{ render_stream_child(block) }}
        {% endif %}
    {% endfor %}
{%- endblock %}
#}<commit_msg>Reverting debugging code<commit_after>
{% extends 'layout-2-1-bleedbar.html' %}

{% import 'molecules/related-posts.html' as related_posts with context %}

{% if not page %}
      {% set doc = get_document('posts', 'four-years-working-for-you') %}
      {% do global_dict.update(
        {
            'page':  {
                'seo_title': 'This is a prototype page for testing landing page layouts.',
                'related_posts': {
                    'posts': more_like_this(doc, search_types='posts', search_size=3),
                    }
                }
        })
      %}
      {% set page = global_dict.page %}
      {% set prototype = true %}
{% endif %}

{% block title -%}
    {{ page.seo_title }}
{%- endblock %}

{% block hero -%}
    {% if prototype %}
        {% include 'molecules/hero.html' %}
    {% endif %}
    {% for block in page.hero %}
        {{ render_stream_child(block) }}
    {% endfor %}
{% endblock %}

{% set lipsumText = lipsum(1, false, 10, 25) | safe %}
{% block content_main %}
    {% if page.introduction or prototype %}
        <div class="block
                 block__flush-top">
            {% if prototype %}
                {% include 'molecules/text-introduction.html' %}
            {% endif %}
            {% for block in page.introduction %}
                {{ render_stream_child(block) }}
            {% endfor %}
        </div>
    {% endif %}

    {% if page.image_text_50_50_content or prototype %}
        <div class="o-image-text-50-50-group">
            {% if page.image_text_50_50_group_header %}
                <h2 class="o-image-text-50-50-group__header">
                    {{ page.image_text_50_50_group_header }}
                </h2>
            {% endif %}

            {% if prototype %}
                {% for x in range(0, 2) %}
                    {% include 'molecules/image-text-50-50.html' %}
                {% endfor %}
            {% endif %}
            {% for block in page.image_text_50_50_content %}
                {{ render_stream_child(block) }}
            {% endfor %}
        </div>
    {% endif %}

    {% if page.image_text_25_75_content or prototype %}
        <div class="block">
            {% if page.image_text_25_75_group_header %}
                <h2 class="o-image-text-25-75-group__header">
                    {{ page.image_text_25_75_group_header }}
                </h2>
            {% endif %}

             {% if prototype %}
                {% for x in range(0, 3) %}
                    {% include 'molecules/image-text-25-75.html' %}
                {% endfor %}
            {% endif %}
            {% for block in page.image_text_25_75_content %}
                {{ render_stream_child(block) }}
            {% endfor %}
        </div>
    {% endif %}

    {% if page.wells or prototype %}
        <div class="block">
            {% if prototype %}
                {% include 'organisms/well.html' %}
            {% endif %}
            {% for block in page.wells %}
                    {{ render_stream_child(block) }}
            {% endfor %}
        </div>
    {% endif %}

    {% if page.half_width_link_blob_content or prototype %}
        <div class="o-link-blob-group">
            {% if page.half_width_link_blob_group_header %}
                <h2 class="o-half-width-link-blob-group__header">
                    {{ page.half_width_link_blob_group_header }}
                </h2>
            {% endif %}

            {% if prototype %}
                {% for x in range(0, 2) %}
                    {% include 'molecules/half-width-link-blob.html' %}
                {% endfor %}
            {% endif %}

            {% for block in page.half_width_link_blob_content %}
                {{ render_stream_child(block) }}
            {% endfor %}
        </div>
    {% endif %}
{% endblock %}

{% block content_sidebar_modifiers -%}
    o-content-sidebar
{%- endblock %}

{% block content_sidebar scoped -%}
    {% for block in page.sidefoot %}
        {% if 'related_posts' in block.block_type %}
            {{ related_posts.render(block) }}
        {% else %}
            {{ render_stream_child(block) }}
        {% endif %}
    {% endfor %}

    {% for block in page.sidefoot %}
        {% if 'related_posts' in block.block_type %}
            {{ related_posts.render() }}
        {% else %}
            {{ render_stream_child(block) }}
        {% endif %}
    {% endfor %}
{%- endblock %}
{'fraction_non_alphanumeric': 0.14512471655328799, 'fraction_numerical': 0.0163265306122449, 'mean_word_length': 1.5420749279538906, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, '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': '961481', 'n_tokens_mistral': 2999, 'n_tokens_neox': 2468, 'n_words': 480}