<commit_before>{% load compress %}
{% load url from future %}
<!doctype html>
<html>
<head>
    <title>{% block head_title %}guardhouse{% endblock %}</title>
    {% compress css %}
        <link href="{{ STATIC_URL }}css/screen.css" media="screen, projection" rel="stylesheet" type="text/css" />
        <link href="{{ STATIC_URL }}css/print.css" media="print" rel="stylesheet" type="text/css" />
    {% endcompress %}
    <!--[if IE]>
        <link href="{{ STATIC_URL }}css/ie.css" media="screen, projection" rel="stylesheet" type="text/css" />
    <![endif]-->

    {% compress js %}
    {% endcompress %}
    {% block extra_head %}
        
    {% endblock %}
</head>
<body class="{% block body_class %}{% endblock %}">
    <div id="page">
        <header>
            <a href="{% url "home" %}"><img src="{{ STATIC_URL }}img/logo.png" /></a>
            <h1>guardhouse</h1>
            <p>All your errors are belong to us</p>
            <aside class="user_info">
                <ul>
                    {% if user.is_anonymous %}
                        <li><a href="{% url "socialauth_login_page" %}">Login</a></li>
{#                        <li><a href="{% url "signup" %}">Sign Up</a></li>#}
                    {% else %}
                        <li>Logged in as {{ user.get_full_name }} ({{ user.username }})</li>
                        <li><a href="{% url "socialauth_social_logout" %}">Logout</a></li>
                    {% endif %}
                </ul>
            </aside>
        </header>
        <nav>
            <ul>
                {% if user.is_anonymous %}
                    <li class="{% block nav_class_about %}{% endblock %}"><a href="{% url "home" %}">About</a></li>
                    <li class="{% block nav_class_login %}{% endblock %}"><a href="{% url "socialauth_login_page" %}">Login</a></li>
{#                    <li class="{% block nav_class_signup %}{% endblock %}"><a href="{% url "signup" %}">Sign Up</a></li>#}
                {% else %}
                    <li class="{% block nav_class_dashboard %}{% endblock %}"><a href="{% url "dashboard" %}">Dashboard</a></li>
                    <li class="{% block nav_class_settings %}{% endblock %}"><a href="{% url "settings" %}">Settings</a></li>
                {% endif %}
            </ul>
        </nav>
        <section id="body">
            {% block body %}
            {% endblock %}
        </section>
        <footer>
            <ul><commit_msg>User messages in base template<commit_after>{% load compress %}
{% load url from future %}
<!doctype html>
<html>
<head>
    <title>{% block head_title %}guardhouse{% endblock %}</title>
    {% compress css %}
        <link href="{{ STATIC_URL }}css/screen.css" media="screen, projection" rel="stylesheet" type="text/css" />
        <link href="{{ STATIC_URL }}css/print.css" media="print" rel="stylesheet" type="text/css" />
    {% endcompress %}
    <!--[if IE]>
        <link href="{{ STATIC_URL }}css/ie.css" media="screen, projection" rel="stylesheet" type="text/css" />
    <![endif]-->

    {% compress js %}
    {% endcompress %}
    {% block extra_head %}
        
    {% endblock %}
</head>
<body class="{% block body_class %}{% endblock %}">
    <div id="page">
        <header>
            <a href="{% url "home" %}"><img src="{{ STATIC_URL }}img/logo.png" /></a>
            <h1>guardhouse</h1>
            <p>All your errors are belong to us</p>
            <aside class="user_info">
                <ul>
                    {% if user.is_anonymous %}
                        <li><a href="{% url "socialauth_login_page" %}">Login</a></li>
{#                        <li><a href="{% url "signup" %}">Sign Up</a></li>#}
                    {% else %}
                        <li>Logged in as {{ user.get_full_name }} ({{ user.username }})</li>
                        <li><a href="{% url "socialauth_social_logout" %}">Logout</a></li>
                    {% endif %}
                </ul>
            </aside>
        </header>
        {% if messages %}
            <section class="messages">
                <ul>
                    {% for message in messages %}
                        <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
                    {% endfor %}
                </ul>
            </section>
        {% endif %}
        <nav>
            <ul>
                {% if user.is_anonymous %}
                    <li class="{% block nav_class_about %}{% endblock %}"><a href="{% url "home" %}">About</a></li>
                    <li class="{% block nav_class_login %}{% endblock %}"><a href="{% url "socialauth_login_page" %}">Login</a></li>
{#                    <li class="{% block nav_class_signup %}{% endblock %}"><a href="{% url "signup" %}">Sign Up</a></li>#}
                {% else %}
                    <li class="{% block nav_class_dashboard %}{% endblock %}"><a href="{% url "dashboard" %}">Dashboard</a></li>
                    <li class="{% block nav_class_settings %}{% endblock %}"><a href="{% url "settings" %}">Settings</a></li>
                {% endif %}
            </ul>
        </nav>
        <section id="body">
            {% block body %}
            {% endblock %}
        </section>
        <footer>
            <ul>
{'fraction_non_alphanumeric': 0.20076117982873454, 'fraction_numerical': 0.0007611798287345385, 'mean_word_length': 1.778012684989429, 'pattern_counts': {'":': 0, '<': 145, '<?xml version=': 0, '>': 145, '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': '5806593', 'n_tokens_mistral': 1729, 'n_tokens_neox': 1538, 'n_words': 378}