<commit_before><!DOCTYPE html>
<html>
<head>
  <title><%= page_title yield :page_title %></title>

  <meta charset="utf-8">
  <%= favicon_link_tag 'favicon.png' %>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <%= auto_discovery_link_tag :atom, news_feed_url(subdomain: 'blog'), {:title => t('newsfeed')} %>
  <%= auto_discovery_link_tag :atom, planet_feed_url(subdomain: 'planet'), {:title => t('planet_feed')} %>
  <%= stylesheet_link_tag 'application', :media => 'all' %>
  <%= javascript_include_tag 'application' %>
  <%= csrf_meta_tags %>
</head>
<body>
  <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
    <div class="container">
      <div class="navbar-header">
        <%= link_to root_url(subdomain: false), class: 'navbar-brand' do %>
          <%= image_tag 'logo.png', height: 30, alt: t('title'), title: t('title'), id: 'header-logo' %>
        <% end %>
        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#mainmenu">
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
      </div>
      <ul class="nav navbar-nav navbar-right collapse navbar-collapse" id="mainmenu">
        <li><%= link_to t('pages.get_involved.menu_title'), get_involved_url(subdomain: false) %></li>
        <li><%= link_to t('pages.blog.menu_title'), blog_index_url(subdomain: 'blog') %></li>
        <li><%= link_to t('.wiki'), 'https://wiki.diasporafoundation.org' %></li>
        <li><%= link_to t('pages.tutorials.menu_title'), tutorials_url(subdomain: false) %></li>
        <li><%= link_to t('.discourse'), 'https://discourse.diasporafoundation.org/' %></li>
        <li><%= link_to t('pages.planet.menu_title'), planet_index_url(subdomain: 'planet') %></li>
        <li>
          <p class="navbar-btn">
            <%= link_to t('buttons.host_pod'), about_url(subdomain: false, anchor: 'host'), class: 'btn btn-primary' %>
            <%= link_to t('buttons.join_diaspora'), root_url(subdomain: false, anchor: 'get_started'), class: 'btn btn-success' %>
          </p>
        </li>
      </ul>
    </div>
  </nav>

  <div id="main-container" class="container-fluid <%= yield :wrapper_class %>">
    <%= yield %>
  </div>

  <footer>
    <div class="container">
      <div class="row">
        <div class="col-md-12">
          <h4>
            <%= t '.useful_resources' %>
          </h4>
        </div>
      </div>
      <div class="row">
        <div class="col-md-3">
          <ul>
            <li>
              <a href="http://github.com/diaspora/diaspora/">
                <%= t '.codebase' %>
              </a>
            </li>
            <li>
              <a href="https://wiki.diasporafoundation.org/">
                <%= t '.documentation' %>
              </a>
            </li>
            <li>
              <a href="http://github.com/diaspora/diaspora/issues">
                <%= t '.report_bugs' %>
              </a>
            </li>
          </ul>
        </div>
        <div class="col-md-3">
          <ul>
            <li>
              <a href="http://webchat.freenode.net/?channels=diaspora"><%= t '.irc_general' %></a>
            </li>
            <li>
              <a href="http://webchat.freenode.net/?channels=diaspora-dev"><%= t '.irc_development' %></a>
            </li>
          </ul>
        </div>
        <div class="col-md-3">
          <ul>
            <li>
              <a href="http://groups.google.com/group/diaspora-discuss">
                <%= t '.discussion_general' %>
              </a>
            </li>
            <li>
              <a href="http://groups.google.com/group/diaspora-dev">
                <%= t '.discussion_development' %>
              </a>
            </li>
          </ul>
        </div>
        <div class="col-md-3">
          <div class="dropdown dropup">
            <button class="btn btn-defalt dropdown-toggle" data-toggle="dropdown">
              <%= t '.choose_language' %>
              <span class="caret"></span>
            </button>

            <ul class="dropdown-menu">
              <%= locale_switcher_entries %>
              <li>
                <a href="https://wiki.diasporafoundation.org/Contribute_translations">
                  <%= t '.translate' %>
                </a>
              </li>
            </ul>
          </div>
        </div>
      </div>
      <div class="row">
        <div class="col-md-12">
          <p class="license-text">
            <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
              <%= image_tag 'cc_by.png', alt: t('.cc_license_alt') %>
            </a>
            <%= t('.licensed_under', site_link: '
              <a href="https://diasporafoundation.org/" property="cc:attributionName"
                 rel="cc:attributionURL">
                diasporafoundation.org
              </a>', license_link: %Q{
              <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
                  #{t('.license_link_text')}
              </a>}).html_safe %>
            </p>
        </div>
      </div>
    </div>
  </footer>
</body>
</html><commit_msg>Change discuss links from Google groups to Discourse<commit_after><!DOCTYPE html>
<html>
<head>
  <title><%= page_title yield :page_title %></title>

  <meta charset="utf-8">
  <%= favicon_link_tag 'favicon.png' %>
  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <%= auto_discovery_link_tag :atom, news_feed_url(subdomain: 'blog'), {:title => t('newsfeed')} %>
  <%= auto_discovery_link_tag :atom, planet_feed_url(subdomain: 'planet'), {:title => t('planet_feed')} %>
  <%= stylesheet_link_tag 'application', :media => 'all' %>
  <%= javascript_include_tag 'application' %>
  <%= csrf_meta_tags %>
</head>
<body>
  <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
    <div class="container">
      <div class="navbar-header">
        <%= link_to root_url(subdomain: false), class: 'navbar-brand' do %>
          <%= image_tag 'logo.png', height: 30, alt: t('title'), title: t('title'), id: 'header-logo' %>
        <% end %>
        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#mainmenu">
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
      </div>
      <ul class="nav navbar-nav navbar-right collapse navbar-collapse" id="mainmenu">
        <li><%= link_to t('pages.get_involved.menu_title'), get_involved_url(subdomain: false) %></li>
        <li><%= link_to t('pages.blog.menu_title'), blog_index_url(subdomain: 'blog') %></li>
        <li><%= link_to t('.wiki'), 'https://wiki.diasporafoundation.org' %></li>
        <li><%= link_to t('pages.tutorials.menu_title'), tutorials_url(subdomain: false) %></li>
        <li><%= link_to t('.discourse'), 'https://discourse.diasporafoundation.org/' %></li>
        <li><%= link_to t('pages.planet.menu_title'), planet_index_url(subdomain: 'planet') %></li>
        <li>
          <p class="navbar-btn">
            <%= link_to t('buttons.host_pod'), about_url(subdomain: false, anchor: 'host'), class: 'btn btn-primary' %>
            <%= link_to t('buttons.join_diaspora'), root_url(subdomain: false, anchor: 'get_started'), class: 'btn btn-success' %>
          </p>
        </li>
      </ul>
    </div>
  </nav>

  <div id="main-container" class="container-fluid <%= yield :wrapper_class %>">
    <%= yield %>
  </div>

  <footer>
    <div class="container">
      <div class="row">
        <div class="col-md-12">
          <h4>
            <%= t '.useful_resources' %>
          </h4>
        </div>
      </div>
      <div class="row">
        <div class="col-md-3">
          <ul>
            <li>
              <a href="https://github.com/diaspora/diaspora/">
                <%= t '.codebase' %>
              </a>
            </li>
            <li>
              <a href="https://wiki.diasporafoundation.org/">
                <%= t '.documentation' %>
              </a>
            </li>
            <li>
              <a href="https://github.com/diaspora/diaspora/issues">
                <%= t '.report_bugs' %>
              </a>
            </li>
          </ul>
        </div>
        <div class="col-md-3">
          <ul>
            <li>
              <a href="https://webchat.freenode.net/?channels=diaspora"><%= t '.irc_general' %></a>
            </li>
            <li>
              <a href="https://webchat.freenode.net/?channels=diaspora-dev"><%= t '.irc_development' %></a>
            </li>
          </ul>
        </div>
        <div class="col-md-3">
          <ul>
            <li>
              <a href="https://discourse.diasporafoundation.org/">
                <%= t '.discussion_general' %>
              </a>
            </li>
            <li>
              <a href="https://discourse.diasporafoundation.org/c/development">
                <%= t '.discussion_development' %>
              </a>
            </li>
          </ul>
        </div>
        <div class="col-md-3">
          <div class="dropdown dropup">
            <button class="btn btn-defalt dropdown-toggle" data-toggle="dropdown">
              <%= t '.choose_language' %>
              <span class="caret"></span>
            </button>

            <ul class="dropdown-menu">
              <%= locale_switcher_entries %>
              <li>
                <a href="https://wiki.diasporafoundation.org/Contribute_translations">
                  <%= t '.translate' %>
                </a>
              </li>
            </ul>
          </div>
        </div>
      </div>
      <div class="row">
        <div class="col-md-12">
          <p class="license-text">
            <a rel="license" href="https://creativecommons.org/licenses/by/3.0/">
              <%= image_tag 'cc_by.png', alt: t('.cc_license_alt') %>
            </a>
            <%= t('.licensed_under', site_link: '
              <a href="https://diasporafoundation.org/" property="cc:attributionName"
                 rel="cc:attributionURL">
                diasporafoundation.org
              </a>', license_link: %Q{
              <a rel="license" href="https://creativecommons.org/licenses/by/3.0/">
                  #{t('.license_link_text')}
              </a>}).html_safe %>
            </p>
        </div>
      </div>
    </div>
  </footer>
</body>
</html>
{'fraction_non_alphanumeric': 0.19007240853658536, 'fraction_numerical': 0.003620426829268293, 'mean_word_length': 1.879835390946502, 'pattern_counts': {'":': 0, '<': 315, '<?xml version=': 0, '>': 321, 'https://': 18, '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': '5309707', 'n_tokens_mistral': 3587, 'n_tokens_neox': 3341, 'n_words': 598}