<commit_before>{% extends "shuup/front/base.jinja" %}

{% block title %}{{ page.title }}{% endblock %}
{% block content_title %}{{ page.title }}{% endblock %}

{% block breadcrumb %}
    <ol class="breadcrumb">
        <li><a href="/">{% trans %}Home{% endtrans %}</a></li>
        {% for ancestor in page.get_ancestors() if ancestor.is_visible() %}
            <li><a href="/{{ ancestor.url }}">{{ ancestor.title }}</a></li>
        {% endfor %}
        <li class="active">{{ page.title }}</li>
    </ol>
{% endblock %}
{% block content %}
    {{ page.get_html()|safe }}
    {% if page.list_children_on_page %}
        {# TODO: add pagination for children list #}
        {% for child in page.children.visible().order_by("-available_from") %}
            <div class="row">
                <a href="/{{ child.url }}"><h2>{{ child.title }}</h2></a>
                {% if child.available_from %}
                    <small>{{ child.available_from|datetime }}</small>
                {% endif %}
                <p>{{ child.get_html()|safe|striptags|truncate(256) }}</p>
            </div>
        {% endfor %}
    {% endif %}
{% endblock %}<commit_msg>Simple CMS: Add global placeholder to content page<commit_after>{% extends "shuup/front/base.jinja" %}

{% block title %}{{ page.title }}{% endblock %}
{% block content_title %}{{ page.title }}{% endblock %}

{% block breadcrumb %}
    <ol class="breadcrumb">
        <li><a href="/">{% trans %}Home{% endtrans %}</a></li>
        {% for ancestor in page.get_ancestors() if ancestor.is_visible() %}
            <li><a href="/{{ ancestor.url }}">{{ ancestor.title }}</a></li>
        {% endfor %}
        <li class="active">{{ page.title }}</li>
    </ol>
{% endblock %}
{% block content %}
    {{ page.get_html()|safe }}
    {% if page.list_children_on_page %}
        {# TODO: add pagination for children list #}
        {% for child in page.children.visible().order_by("-available_from") %}
            <div class="row">
                <a href="/{{ child.url }}"><h2>{{ child.title }}</h2></a>
                {% if child.available_from %}
                    <small>{{ child.available_from|datetime }}</small>
                {% endif %}
                <p>{{ child.get_html()|safe|striptags|truncate(256) }}</p>
            </div>
        {% endfor %}
    {% endif %}
    {% placeholder "cms_page" global %}{% endplaceholder %}
{% endblock %}
{'fraction_non_alphanumeric': 0.20817688777638715, 'fraction_numerical': 0.004171881518564873, 'mean_word_length': 2.382228490832158, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 47, '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': '823168', 'n_tokens_mistral': 837, 'n_tokens_neox': 734, 'n_words': 161}