<commit_before><?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html>
<html>
  <head>
  <base href="{{baseurl}}" />
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <link rel="stylesheet" href="css/bootstrap.min.css"/>
  <link rel="stylesheet" href="css/font-awesome.css"/>
  <link rel="stylesheet" href="css/phorkie.css"/>
  {% if css %}
  <link rel="stylesheet" href="{{css}}"/>
  {% endif %}
  {% if iconpng %}
  <link rel="shortcut icon" href="{{iconpng}}" type="image/png"/>
  {% endif %}
  <title>{% block title %}{% endblock %} - {{title}}</title>
  <script src="js/jquery.js"></script>
  <script src="js/bootstrap.min.js"></script>
  <script src="js/phorkie.js"></script>
  {% block meta %}{% endblock %}
 </head>
 <body>
  {{topbar|raw}}
  <div class="navbar navbar-inverse navbar-static-top">
   <div class="navbar-inner">
    <div class="container">
     <ul class="nav">
      <li>
       <a class="brand" href="{{baseurl}}">{{title}}</a>
      </li>
      <li>
       <a href="new">New paste</a>
      </li>
      <li>
       <a href="list">List all</a>
      </li>
      {% if db.adapter %}
      <li class="nav-collapse">
       <form class="span4 pull-right navbar-form" action="search" method="get">
        <input type="text" class="search-query" name="q" placeholder="Search" value="{{query}}"/>
       </form>
      </li>
      {% endif %}
     </ul>
     <ul class="nav pull-right">
      {% if identity %}
      <li>
       <a href="user"><img class="avatar-tiny" src="{{htmlhelper.getIconUrl(email, 20)}}" width="20" height="20" /> {{name}}</a>
      </li>
      {% endif %}
      {% if db.adapter %}
      <li>
       <button class="btn btn-navbar btn-inverse pull-right" data-toggle="collapse" data-target=".nav-collapse">
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
       </button>
      </li>
      {% endif %}
      {% if identity %}
      <li>
       <a href="login?logout">Logout</a>
      </li>
      {% else %}
      <li>
       <a href="login">Login</a>
      </li>
      {% endif %}
     </ul>
    </div>
   </div>
  </div>

  <div class="container">
   <div class="row">
    <div class="span9">
     {% if suggestSetupCheck %}
     <div class="alert alert-error">
       It seems phorkie is not setup properly.
       Visit the <a href="setup">setup check page</a> for more information.
     </div>
     {% endif %}
     {% block content %}{% endblock %}
    </div>
    <div class="span3">
     <div class="content-padding-fix"></div>
     {% block sidebar %}{% endblock %}
    </div>
   </div>
  </div>

  <div class="container footer">
   <a href="//sf.net/p/phorkie/">phorkie</a>,
   the self-hosted, git-based pastebin software is available under the
   <a href="http://www.gnu.org/licenses/agpl-3.0.html">
    <abbr title="GNU Affero General Public License">AGPL</abbr></a>.
  </div>
 </body>
</html><commit_msg>warning for missing config file. auto-config works good enough<commit_after><?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html>
<html>
  <head>
  <base href="{{baseurl}}" />
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  <link rel="stylesheet" href="css/bootstrap.min.css"/>
  <link rel="stylesheet" href="css/font-awesome.css"/>
  <link rel="stylesheet" href="css/phorkie.css"/>
  {% if css %}
  <link rel="stylesheet" href="{{css}}"/>
  {% endif %}
  {% if iconpng %}
  <link rel="shortcut icon" href="{{iconpng}}" type="image/png"/>
  {% endif %}
  <title>{% block title %}{% endblock %} - {{title}}</title>
  <script src="js/jquery.js"></script>
  <script src="js/bootstrap.min.js"></script>
  <script src="js/phorkie.js"></script>
  {% block meta %}{% endblock %}
 </head>
 <body>
  {{topbar|raw}}
  <div class="navbar navbar-inverse navbar-static-top">
   <div class="navbar-inner">
    <div class="container">
     <ul class="nav">
      <li>
       <a class="brand" href="{{baseurl}}">{{title}}</a>
      </li>
      <li>
       <a href="new">New paste</a>
      </li>
      <li>
       <a href="list">List all</a>
      </li>
      {% if db.adapter %}
      <li class="nav-collapse">
       <form class="span4 pull-right navbar-form" action="search" method="get">
        <input type="text" class="search-query" name="q" placeholder="Search" value="{{query}}"/>
       </form>
      </li>
      {% endif %}
     </ul>
     <ul class="nav pull-right">
      {% if identity %}
      <li>
       <a href="user"><img class="avatar-tiny" src="{{htmlhelper.getIconUrl(email, 20)}}" width="20" height="20" /> {{name}}</a>
      </li>
      {% endif %}
      {% if db.adapter %}
      <li>
       <button class="btn btn-navbar btn-inverse pull-right" data-toggle="collapse" data-target=".nav-collapse">
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
       </button>
      </li>
      {% endif %}
      {% if identity %}
      <li>
       <a href="login?logout">Logout</a>
      </li>
      {% else %}
      <li>
       <a href="login">Login</a>
      </li>
      {% endif %}
     </ul>
    </div>
   </div>
  </div>

  <div class="container">
   <div class="row">
    <div class="span9">
     {% if suggestSetupCheck %}
     <div class="alert alert-warning">
       No configuration file found.
       Visit the <a href="setup">setup check page</a> for more information.
     </div>
     {% endif %}
     {% block content %}{% endblock %}
    </div>
    <div class="span3">
     <div class="content-padding-fix"></div>
     {% block sidebar %}{% endblock %}
    </div>
   </div>
  </div>

  <div class="container footer">
   <a href="//sf.net/p/phorkie/">phorkie</a>,
   the self-hosted, git-based pastebin software is available under the
   <a href="http://www.gnu.org/licenses/agpl-3.0.html">
    <abbr title="GNU Affero General Public License">AGPL</abbr></a>.
  </div>
 </body>
</html>
{'fraction_non_alphanumeric': 0.21608885897004376, 'fraction_numerical': 0.005048805116122518, 'mean_word_length': 2.67759900990099, 'pattern_counts': {'":': 0, '<': 193, '<?xml version=': 2, '>': 193, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, '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': '2095852', 'n_tokens_mistral': 2144, 'n_tokens_neox': 2009, 'n_words': 438}