<commit_before><!-- Fixed navbar -->
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
  <div class="container">
    <div class="navbar-header">
      <%= link_to root_path, class: "navbar-brand" do %>
        <i class="glyphicon glyphicon-home white"></i> 黎明志工銀行
      <% end %>
    </div>
    <div id="navbar" class="navbar-collapse collapse">
      <ul class="nav navbar-nav">
        <li>
          <%= link_to posts_path, class: "navbar-brand" do %>
            <i class="glyphicon glyphicon-list-alt"></i> 志工文章
          <% end %>
        <li> 
          <%= render 'layouts/search_bar' %>
        </li>
      </ul>
      <ul class="nav navbar-nav navbar-right">
        <% if current_user.try(:admin) %>
        <li> <%= link_to "Users", admin_users_path %> </li>
        <% end %>
        <li> <%= link_image_tag current_user.try(:image) %> </li>
        <li> <%= user_tag %> </li>
        <li> <%= signup_tag %> </li>
        <li> <%= login_tag %> </li>
      </ul>
    </div><!--/.nav-collapse -->
  </div>
</nav><commit_msg>fix posts index path in header<commit_after><!-- Fixed navbar -->
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
  <div class="container">
    <div class="navbar-header">
      <%= link_to root_path, class: "navbar-brand" do %>
        <i class="glyphicon glyphicon-home white"></i> 黎明志工銀行
      <% end %>
    </div>
    <div id="navbar" class="navbar-collapse collapse">
      <ul class="nav navbar-nav">
        <li>
          <%= link_to posts_index_path, class: "navbar-brand" do %>
            <i class="glyphicon glyphicon-list-alt"></i> 志工文章
          <% end %>
        <li> 
          <%= render 'layouts/search_bar' %>
        </li>
      </ul>
      <ul class="nav navbar-nav navbar-right">
        <% if current_user.try(:admin) %>
        <li> <%= link_to "Users", admin_users_path %> </li>
        <% end %>
        <li> <%= link_image_tag current_user.try(:image) %> </li>
        <li> <%= user_tag %> </li>
        <li> <%= signup_tag %> </li>
        <li> <%= login_tag %> </li>
      </ul>
    </div><!--/.nav-collapse -->
  </div>
</nav>
{'fraction_non_alphanumeric': 0.19953161592505855, 'fraction_numerical': 0.0, 'mean_word_length': 2.216867469879518, 'pattern_counts': {'":': 0, '<': 89, '<?xml version=': 0, '>': 89, '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': '7130091', 'n_tokens_mistral': 807, 'n_tokens_neox': 730, 'n_words': 156}