<commit_before>{% trans_default_domain 'admin' %}

<div class="main_menu">
    {% for item in items %}

        {% set index_url = item.indexUrl %}

        <div class="item{% if item.children is not empty %} parent{% endif %}">
            <div class="img">
                <a href="{{ index_url }}">
                    <img src="{{ asset('bundles/darvinadmin/images/main_menu_' ~ item.menuName ~ '.png') }}" alt="" />
                </a>
            </div>
            <div class="name">
                <a href="{{ index_url }}"{% if item.menuColor %} style="color: {{ item.menuColor }};"{% endif %}>
                    {{ item.indexTitle | trans }}
                </a>
            </div>
            {% if item.menuDescription %}
                <div class="description">
                    <p>{{ item.menuDescription | trans | raw }}</p>
                </div>
            {% endif %}
            {% if item.children is not empty %}
                <div class="main_dropdown_menu_wrap">
                    <div class="top_sep"></div>
                    <div class="main_dropdown_menu">
                        <div class="main_dropdown_menu_inner">
                            {% for child in item.children %}

                                {% set index_url = child.indexUrl %}
                                {% set new_url = child.newUrl %}

                                <div class="sub_item">
                                    <div class="img">
                                        <a href="{{ index_url }}">
                                            <img src="{{ asset('bundles/darvinadmin/images/sub_item_' ~ child.menuName ~ '.png') }}">
                                        </a>
                                    </div>
                                    <div class="name">
                                        <a href="{{ index_url }}">{{ child.indexTitle | trans }}</a>
                                    </div>
                                    {% if new_url and child.newTitle %}
                                        <div class="sep"></div>
                                        <a href="{{ new_url }}" class="btn">{{ child.newTitle | trans }}</a>
                                    {% endif %}
                                </div>
                            {% endfor %}
                        </div>
                    </div>
                </div>
            {% endif %}
        </div>
    {% endfor %}
</div>
<commit_msg>Update homepage HTML.<commit_after>{% trans_default_domain 'admin' %}

<div class="main_menu">
    {% for item in items %}

        {% set index_url = item.indexUrl %}

        {% if not index_url %}
            {% set index_url = '#' %}
        {% endif %}

        <div class="item{% if item.children is not empty %} parent{% endif %}">
            <div class="img">
                <a href="{{ index_url }}">
                    <img src="{{ asset('bundles/darvinadmin/images/main_menu_' ~ item.menuName ~ '.png') }}" alt="" />
                </a>
            </div>
            <div class="name">
                <a href="{{ index_url }}"{% if item.menuColor %} style="color: {{ item.menuColor }};"{% endif %}>
                    {{ item.indexTitle | trans }}
                </a>
            </div>
            {% if item.menuDescription %}
                <div class="description">
                    <p>{{ item.menuDescription | trans | raw }}</p>
                </div>
            {% endif %}
            {% if item.children is not empty %}
                <div class="main_dropdown_menu_wrap">
                    <div class="top_sep"></div>
                    <div class="main_dropdown_menu">
                        <div class="main_dropdown_menu_inner">
                            {% for child in item.children %}

                                {% set index_url = child.indexUrl %}
                                {% set new_url = child.newUrl %}

                                <div class="sub_item">
                                    <div class="img">
                                        <a href="{{ index_url }}">
                                            <img src="{{ asset('bundles/darvinadmin/images/sub_item_' ~ child.menuName ~ '.png') }}">
                                        </a>
                                    </div>
                                    <div class="name">
                                        <a href="{{ index_url }}">{{ child.indexTitle | trans }}</a>
                                    </div>
                                    {% if new_url and child.newTitle %}
                                        <div class="sep"></div>
                                        <a href="{{ new_url }}" class="btn">{{ child.newTitle | trans }}</a>
                                    {% endif %}
                                </div>
                            {% endfor %}
                        </div>
                    </div>
                </div>
            {% endif %}
        </div>
    {% endfor %}
</div>

{'fraction_non_alphanumeric': 0.13916304776944335, 'fraction_numerical': 0.0, 'mean_word_length': 0.9142425387230827, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 83, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 44, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3938976', 'n_tokens_mistral': 1285, 'n_tokens_neox': 1133, 'n_words': 264}