<commit_before>{% extends path_user_template ~ '/home.twig' %}

{% block title %}{% spaceless %}
    {{ page_title|default('Start') }}
{% endspaceless %}{% endblock %}

{% block headtags %}
    <script src="{{ path_url }}{{ user_var.project_static }}/bxslider/jquery.bxslider.min.js"
            type="text/javascript"></script>
    <link href="{{ path_url }}{{ user_var.project_static }}/bxslider/jquery.bxslider.css" rel="stylesheet"
          type="text/css" media="screen"/>

    <script type="text/javascript">
        var url_path = '{{ path_url }}';

        function rewriteUrl(url) {
            if (url.indexOf("http") < 0) {
                url = url_path + '/' + url;
            }
            return url;
        }
        $(document).ready(function () {
            if ($("#errors").html() == '') {
                $("#errors").hide();
            }
            $('img').each(function () {
                var url = rewriteUrl($(this).attr('src'));
                $(this).attr("src", url);
            });
            $('.product_gallery').bxSlider({
                //autoControls: true,
                mode: 'fade',
                adaptiveHeight: true,
                auto: true,
                pause: 4000,
            });
        });
    </script>
{% endblock %}
{% block contentbody %}
    {% if articles %}
        <div class="product_gallery">
            {% for a in articles %}
                <div class="row collapse slide-pane">
                    <div class="body">{{ a.body|raw }}</div>
                </div>
            {% endfor %}
        </div>
    {% endif %}
{% endblock %}<commit_msg>Style restructure<commit_after>{% extends path_user_template ~ '/home.twig' %}

{% block title %}{% spaceless %}
    {{ page_title|default('Start') }}
{% endspaceless %}{% endblock %}

{% block headtags %}
    <script src="{{ path_url }}{{ user_var.project_static }}/bxslider/jquery.bxslider.min.js"
            type="text/javascript"></script>
    <link href="{{ path_url }}{{ user_var.project_static }}/bxslider/jquery.bxslider.css" rel="stylesheet"
          type="text/css" media="screen"/>

    <script type="text/javascript">
        var url_path = '{{ path_url }}';

        function rewriteUrl(url) {
            if (url.indexOf("http") < 0) {
                url = url_path + '/' + url;
            }
            return url;
        }
        $(document).ready(function () {
            if ($("#errors").html() == '') {
                $("#errors").hide();
            }
            $('img').each(function () {
                var url = rewriteUrl($(this).attr('src'));
                $(this).attr("src", url);
            });
            $('.product_gallery').bxSlider({
                //autoControls: true,
                mode: 'fade',
                adaptiveHeight: true,
                auto: true,
                pause: 4000,
            });
        });
    </script>
{% endblock %}
{% block contentbody %}
    {% if articles %}
    <div class="product_gallery">
        {% for a in articles %}
            <div class="row collapse slide-pane">
                <div class="body">{{ a.body|raw }}</div>
            </div>
        {% endfor %}
    </div>
    {% endif %}
{% endblock %}
{'fraction_non_alphanumeric': 0.1815365551425031, 'fraction_numerical': 0.0030978934324659233, 'mean_word_length': 1.6953255425709517, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 25, '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': '475146', 'n_tokens_mistral': 999, 'n_tokens_neox': 908, 'n_words': 175}