<commit_before><!DOCTYPE html>
<html>
<head>
  <title>博客管理</title>
  <%= stylesheet_link_tag    'admin', media: 'all', 'data-turbolinks-track' => true %>
  <%= stylesheet_link_tag    params[:controller]%>

  <%= csrf_meta_tags %>
</head>
<body>
<div id="header">
  <nav id="nav-top">
    <div id="logo">
      <img src="/assets/logo.png"/>
    </div>
    <div id="search">
      <form class="" role="search">
        <div class="">
          <input type="text" class="" placeholder="Search...">
        </div>
        <button type="submit" class="hidden">Submit</button>
      </form>
    </div>
    <div id="admin">
      <span><%= @login_author.name %></span>
    </div>

    <div id="menu-add">
      <a href=<%= new_admin_article_path %>>
        <i class="glyphicon glyphicon-plus"></i>
      </a>
    </div>
    <div id="menu-message">
      <i class="glyphicon glyphicon-envelope"></i>
    </div>
    <div id="menu-login">
      <a href=<%= admin_logout_path %> data-method="DELETE" >
          <img src="/assets/logo.png"/>
          <i class="glyphicon glyphicon-chevron-down"></i>
      </a>
    </div>
  </nav>
</div>
<div id="side-nav">
  <nav id="nav-side">
    <ul class="">
      <% @navs.each do |nav| %>
          <li class=<%= is_current(nav[:args]) %>>
            <a href="<%= url_for nav[:options] %>" class="link">
              <i class="glyphicon glyphicon-<%= nav[:icon] %>"></i>
              <span><%= nav[:text] %></span>
            </a>
          </li>
      <% end %><commit_msg>a with delete<commit_after><!DOCTYPE html>
<html>
<head>
  <title>博客管理</title>
  <%= stylesheet_link_tag    'admin', media: 'all', 'data-turbolinks-track' => true %>
  <%= stylesheet_link_tag    params[:controller]%>

  <%= csrf_meta_tags %>
</head>
<body>
<div id="header">
  <nav id="nav-top">
    <div id="logo">
      <img src="/assets/logo.png"/>
    </div>
    <div id="search">
      <form class="" role="search">
        <div class="">
          <input type="text" class="" placeholder="Search...">
        </div>
        <button type="submit" class="hidden">Submit</button>
      </form>
    </div>
    <div id="admin">
      <span><%= @login_author.name %></span>
    </div>

    <div id="menu-add">
      <a href=<%= new_admin_article_path %>>
        <i class="glyphicon glyphicon-plus"></i>
      </a>
    </div>
    <div id="menu-message">
      <i class="glyphicon glyphicon-envelope"></i>
    </div>
    <div id="menu-login">
      <%= link_to admin_logout_path,method: :delete do %>
          <img src="/assets/logo.png"/>
          <i class="glyphicon glyphicon-chevron-down"></i>
      <% end %>
    </div>
  </nav>
</div>
<div id="side-nav">
  <nav id="nav-side">
    <ul class="">
      <% @navs.each do |nav| %>
          <li class=<%= is_current(nav[:args]) %>>
            <a href="<%= url_for nav[:options] %>" class="link">
              <i class="glyphicon glyphicon-<%= nav[:icon] %>"></i>
              <span><%= nav[:text] %></span>
            </a>
          </li>
      <% end %>
{'fraction_non_alphanumeric': 0.2247600132406488, 'fraction_numerical': 0.0, 'mean_word_length': 2.3840985442329226, 'pattern_counts': {'":': 0, '<': 136, '<?xml version=': 0, '>': 138, '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': '6416073', 'n_tokens_mistral': 1132, 'n_tokens_neox': 1070, 'n_words': 216}