<commit_before>{% macro loop(page) %}
    {% for p in page.children.visible %}
        {% set current_page = (p.active or p.activeChild) ? 'pure-menu-selected' : '' %}
        {% if p.children.visible.count > 0 %}
            <li class="pure-menu-item pure-menu-has-children pure-menu-allow-hover {{ current_page }}">
                <a class="pure-menu-link" href="{{ p.url }}">
                    {% if p.header.icon %}<i class="fa fa-{{ p.header.icon }}"></i>{% endif %}
                    {{ p.menu }}
                </a>
                <ul class="pure-menu-children">
                    {{ _self.loop(p) }}
                </ul>
            </li>
        {% else %}
            <li class="pure-menu-item {{ current_page }}">
                <a class="pure-menu-link" href="{{ p.url }}">
                    {% if p.header.icon %}<i class="fa fa-{{ p.header.icon }}"></i>{% endif %}
                    {{ p.menu }}
                </a>
            </li>
        {% endif %}
    {% endfor %}
{% endmacro %}

<ul class="pure-menu-list">
    {% if theme_config.dropdown.enabled %}
        {{ _self.loop(pages) }}
    {% else %}
        {% for page in pages.children.visible %}
            {% set current_page = (page.active or page.activeChild) ? 'pure-menu-selected' : '' %}
            <li class="pure-menu-item {{ current_page }}">
                <a class="pure-menu-link" href="{{ page.url }}">
                    {% if page.header.icon %}<i class="fa fa-{{ page.header.icon }}"></i>{% endif %}
                    {{ page.menu }}
                </a>
            </li>
        {% endfor %}<commit_msg>fix dropdown option in navbar temp<commit_after>{% macro loop(page) %}
    {% for p in page.children.visible %}
        {% set current_page = (p.active or p.activeChild) ? 'pure-menu-selected' : '' %}
        {% if p.children.visible.count > 0 %}
            <li class="pure-menu-item pure-menu-has-children pure-menu-allow-hover {{ current_page }}">
                <a class="pure-menu-link" href="{{ p.url }}">
                    {% if p.header.icon %}<i class="fa fa-{{ p.header.icon }}"></i>{% endif %}
                    {{ p.menu }}
                </a>
                <ul class="pure-menu-children">
                    {{ _self.loop(p) }}
                </ul>
            </li>
        {% else %}
            <li class="pure-menu-item {{ current_page }}">
                <a class="pure-menu-link" href="{{ p.url }}">
                    {% if p.header.icon %}<i class="fa fa-{{ p.header.icon }}"></i>{% endif %}
                    {{ p.menu }}
                </a>
            </li>
        {% endif %}
    {% endfor %}
{% endmacro %}

<ul class="pure-menu-list">
    {% if grav.config.theme.dropdown.enabled %}
        {{ _self.loop(pages) }}
    {% else %}
        {% for page in pages.children.visible %}
            {% set current_page = (page.active or page.activeChild) ? 'pure-menu-selected' : '' %}
            <li class="pure-menu-item {{ current_page }}">
                <a class="pure-menu-link" href="{{ page.url }}">
                    {% if page.header.icon %}<i class="fa fa-{{ page.header.icon }}"></i>{% endif %}
                    {{ page.menu }}
                </a>
            </li>
        {% endfor %}
{'fraction_non_alphanumeric': 0.1947174447174447, 'fraction_numerical': 0.0006142506142506142, 'mean_word_length': 1.482469512195122, 'pattern_counts': {'":': 0, '<': 45, '<?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': '2964802', 'n_tokens_mistral': 1078, 'n_tokens_neox': 946, 'n_words': 199}