<commit_before><ul class="secondary-nav">
    {% if user.is_authenticated %}
        <li>
            <a href="#" class="menu">{{ user }}</a>
            <ul class="menu-dropdown">
                <li><a href="{% url acct_email %}">Account</a></li>
                {% if user.is_staff %}
                    <li><a href="{% url admin:index %}">Admin</a></li>
                {% endif %}
                <li class="divider"></li>
                <li><a href="{% url acct_logout %}">Log Out</a></li>
            </ul>
        </li>
    {% else %}
        <li><a href="{% url acct_login %}">Log In</a></li>
        <li><p>or</p></li>
        <li><a href="{% url acct_signup %}">Sign Up</a></li>
    {% endif %}
</ul><commit_msg>don't show Sign Up link in account bar if not open signup; fixes #11<commit_after>{% load ifsetting_tag %}
<ul class="secondary-nav">
    {% if user.is_authenticated %}
        <li>
            <a href="#" class="menu">{{ user }}</a>
            <ul class="menu-dropdown">
                <li><a href="{% url acct_email %}">Account</a></li>
                {% if user.is_staff %}
                    <li><a href="{% url admin:index %}">Admin</a></li>
                {% endif %}
                <li class="divider"></li>
                <li><a href="{% url acct_logout %}">Log Out</a></li>
            </ul>
        </li>
    {% else %}
        <li><a href="{% url acct_login %}">Log In</a></li>
        {% ifsetting ACCOUNT_OPEN_SIGNUP %}
            <li><p>or</p></li>
            <li><a href="{% url acct_signup %}">Sign Up</a></li>
        {% endifsetting %}
    {% endif %}
</ul>
{'fraction_non_alphanumeric': 0.21814791796146674, 'fraction_numerical': 0.001243008079552517, 'mean_word_length': 1.7427597955706984, 'pattern_counts': {'":': 0, '<': 71, '<?xml version=': 0, '>': 71, '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': '4326194', 'n_tokens_mistral': 582, 'n_tokens_neox': 515, 'n_words': 120}