<commit_before>{% load cache compress static %}
<!DOCTYPE html>

<html lang="en">

  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>{% block title %}{% endblock %} | {{ site_title }}</title>
    <link rel="shortcut icon" type="image/png" href="{% static 'img/favicon.png' %}">
    {% compress css %}
      <link rel="stylesheet" type="text/css" href="{% static 'css/bootstrap-3.1.1.min.css' %}">
      <link rel="stylesheet" type="text/css" href="{% static 'css/font-awesome-4.0.3.min.css' %}">
      <link rel="stylesheet" type="text/css" href="{% static 'css/comics.css' %}">
    {% endcompress %}
    {% block extra_head %}{% endblock %}
  </head>

  <body>
    {% block body %}

      <div class="navbar navbar-default navbar-static-top">
        <div class="container">
          <div class="navbar-header">
            <button class="navbar-toggle"
              data-toggle="collapse" data-target="#site-menu">
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
            </button>
            {% if user.is_authenticated %}
              <a class="navbar-brand" href="{% url "mycomics_latest" %}">{{ site_title }}</a>
            {% else %}
              <a class="navbar-brand" href="{% url "home" %}">{{ site_title }}</a>
            {% endif %}
          </div>

          {% block site_menu %}
            <div class="collapse navbar-collapse" id="site-menu">
              <ul class="nav navbar-nav">
              {% if user.is_authenticated %}
                <li class="{{ active.comics|yesno:"active," }}" >
                  <a href="{% url "mycomics_latest" %}">
                    <i class="fa fa-th-large"></i>
                    Comics</a>
                </li>
                <li class="{{ active.comics_list|yesno:"active," }}" >
                  <a href="{% url "comics_list" %}">
                    <i class="fa fa-list"></i>
                    All comics</a>
                </li>
              {% else %}
                <li class="{{ active.login|yesno:"active," }}" >
                  <a href="{% url "login" %}">
                    <i class="fa fa-sign-in"></i>
                    Login</a>
                </li>
                <li class="{{ active.register|yesno:"active," }}" >
                  <a href="{% url "registration_register" %}">
                    <i class="fa fa-plus"></i>
                    Register</a>
                </li>
              {% endif %}
              </ul>

              <ul class="nav navbar-nav navbar-right">
              {% if user.is_authenticated %}
                <li class="{{ active.invite|yesno:"active," }}"><commit_msg>Make menu match page title<commit_after>{% load cache compress static %}
<!DOCTYPE html>

<html lang="en">

  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>{% block title %}{% endblock %} | {{ site_title }}</title>
    <link rel="shortcut icon" type="image/png" href="{% static 'img/favicon.png' %}">
    {% compress css %}
      <link rel="stylesheet" type="text/css" href="{% static 'css/bootstrap-3.1.1.min.css' %}">
      <link rel="stylesheet" type="text/css" href="{% static 'css/font-awesome-4.0.3.min.css' %}">
      <link rel="stylesheet" type="text/css" href="{% static 'css/comics.css' %}">
    {% endcompress %}
    {% block extra_head %}{% endblock %}
  </head>

  <body>
    {% block body %}

      <div class="navbar navbar-default navbar-static-top">
        <div class="container">
          <div class="navbar-header">
            <button class="navbar-toggle"
              data-toggle="collapse" data-target="#site-menu">
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
              <span class="icon-bar"></span>
            </button>
            {% if user.is_authenticated %}
              <a class="navbar-brand" href="{% url "mycomics_latest" %}">{{ site_title }}</a>
            {% else %}
              <a class="navbar-brand" href="{% url "home" %}">{{ site_title }}</a>
            {% endif %}
          </div>

          {% block site_menu %}
            <div class="collapse navbar-collapse" id="site-menu">
              <ul class="nav navbar-nav">
              {% if user.is_authenticated %}
                <li class="{{ active.comics|yesno:"active," }}" >
                  <a href="{% url "mycomics_latest" %}">
                    <i class="fa fa-th-large"></i>
                    My comics</a>
                </li>
                <li class="{{ active.comics_list|yesno:"active," }}" >
                  <a href="{% url "comics_list" %}">
                    <i class="fa fa-list"></i>
                    All comics</a>
                </li>
              {% else %}
                <li class="{{ active.login|yesno:"active," }}" >
                  <a href="{% url "login" %}">
                    <i class="fa fa-sign-in"></i>
                    Login</a>
                </li>
                <li class="{{ active.register|yesno:"active," }}" >
                  <a href="{% url "registration_register" %}">
                    <i class="fa fa-plus"></i>
                    Register</a>
                </li>
              {% endif %}
              </ul>

              <ul class="nav navbar-nav navbar-right">
              {% if user.is_authenticated %}
                <li class="{{ active.invite|yesno:"active," }}">
{'fraction_non_alphanumeric': 0.18817591925018023, 'fraction_numerical': 0.002883922134102379, 'mean_word_length': 1.688468992248062, 'pattern_counts': {'":': 0, '<': 119, '<?xml version=': 0, '>': 119, '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': '1760503', 'n_tokens_mistral': 1773, 'n_tokens_neox': 1593, 'n_words': 339}