<commit_before><!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title><NAME>{% if title %}: {{ title }}{% endif %}</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width">

    <link rel="updates alternate" type="application/atom+xml" href="{{ url_for('all_atom', _external=True) }}" title="<NAME>: All" />
    <link rel="notes alternate" type="application/atom+xml" href="{{ url_for('notes_atom', _external=True) }}" title="<NAME>: Notes" />
    <link rel="articles alternate" type="application/atom+xml" href="{{ url_for('articles_atom', _external=True) }}" title="<NAME>: Articles" />

    <link rel="webmention" href="{{ url_for('receive_webmention', _external=True) }}"/>

    <link rel="openid.delegate" href="http://kylewm.com/" />
    <link rel="openid.server" href="https://indieauth.com/openid" />

    <link rel="shortcut icon" href="{{ url_for('static', filename='img/users/kyle.jpg') }}"/>
    <link rel="apple-touch-icon" href="{{ url_for('static', filename='img/users/kyle.jpg') }}"/>
    <link rel="apple-touch-icon" sizes="60x60" href="{{ url_for('static', filename='img/users/kyle60.jpg') }}"/>
    <link rel="apple-touch-icon" sizes="76x76" href="{{ url_for('static', filename='img/users/kyle76.jpg') }}"/>
    <link rel="apple-touch-icon" sizes="114x114" href="{{ url_for('static', filename='img/users/kyle114.jpg') }}"/>
    <link rel="apple-touch-icon" sizes="152x152" href="{{ url_for('static', filename='img/users/kyle152.jpg') }}"/>

    <link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700|Droid+Sans+Mono' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
    <link rel="stylesheet" href="{{ url_for('static', filename='css/pygments.css') }}">
  </head>
  <body>
    <!--[if lt IE 7]>
        <p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
        <![endif]-->

    <div class="wrapper">

      <header>
        <div class="section group">
          <div class="col span_1_of_3">
            <p class="site-name">kylewm.com</p>
          </div>
          <div class="col span_2_of_3">
            <nav>
              <ul>
                <li><a href="{{ url_for('index') }}">stream</a></li>
                <li><a href="{{ url_for('articles') }}">articles</a></li>
                <li><a href="{{ url_for('everything') }}">everything</a></li>

                {% if authenticated %}
                <li><a href="{{ url_for('settings') }}">settings</a></li>
                <li><a href="{{ url_for('logout') }}">logout</a></li>
                {% else %}
                <li>
                  <form action="http://indieauth.com/auth" method="get">
                    <input id="indie_auth_url" type="text" name="me" placeholder="yourdomain.com" />
                    <button type="submit">Sign In</button>
                    <input type="hidden" name="redirect_uri" value="{{ url_for('indie_auth', _external=True) }}" />
                  </form>
                </li>

                {% endif %}
              </ul>
              {% if authenticated %}
              <ul>
                <li>new:</li>
                <li><a href="{{ url_for('new_post', post_type='article') }}">article</a></li>
                <li><a href="{{ url_for('new_post', post_type='note') }}">note</a></li>
                <li><a href="{{ url_for('new_post', post_type='reply') }}">reply</a></li>
                <li><a href="{{ url_for('new_post', post_type='share') }}">share</a></li>
                <li><a href="{{ url_for('new_post', post_type='like') }}">like</a></li>
              </ul>
              {% endif %}
            </nav>
          </div>
        </div>
      </header>


      <div class="flashes">
        {% with messages = get_flashed_messages() %}
        {% if messages %}
        <ul class=flashes>
          {% for message in messages %}
          <li>{{ message }}</li>
          {% endfor %}
        </ul>
        {% endif %}
        {% endwith %}
      </div>


      <div class="section group">
          {% block content %}{% endblock content %}
      </div>
    </div>
  </body>
</html>
<commit_msg>added piwik tracking code to base template<commit_after><!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title><NAME>{% if title %}: {{ title }}{% endif %}</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width">

    <link rel="updates alternate" type="application/atom+xml" href="{{ url_for('all_atom', _external=True) }}" title="<NAME>: All" />
    <link rel="notes alternate" type="application/atom+xml" href="{{ url_for('notes_atom', _external=True) }}" title="<NAME>: Notes" />
    <link rel="articles alternate" type="application/atom+xml" href="{{ url_for('articles_atom', _external=True) }}" title="<NAME>: Articles" />

    <link rel="webmention" href="{{ url_for('receive_webmention', _external=True) }}"/>

    <link rel="openid.delegate" href="http://kylewm.com/" />
    <link rel="openid.server" href="https://indieauth.com/openid" />

    <link rel="shortcut icon" href="{{ url_for('static', filename='img/users/kyle.jpg') }}"/>
    <link rel="apple-touch-icon" href="{{ url_for('static', filename='img/users/kyle.jpg') }}"/>
    <link rel="apple-touch-icon" sizes="60x60" href="{{ url_for('static', filename='img/users/kyle60.jpg') }}"/>
    <link rel="apple-touch-icon" sizes="76x76" href="{{ url_for('static', filename='img/users/kyle76.jpg') }}"/>
    <link rel="apple-touch-icon" sizes="114x114" href="{{ url_for('static', filename='img/users/kyle114.jpg') }}"/>
    <link rel="apple-touch-icon" sizes="152x152" href="{{ url_for('static', filename='img/users/kyle152.jpg') }}"/>

    <link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700|Droid+Sans+Mono' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
    <link rel="stylesheet" href="{{ url_for('static', filename='css/pygments.css') }}">
  </head>
  <body>
    <!--[if lt IE 7]>
        <p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
        <![endif]-->

    <div class="wrapper">

      <header>
        <div class="section group">
          <div class="col span_1_of_3">
            <p class="site-name">kylewm.com</p>
          </div>
          <div class="col span_2_of_3">
            <nav>
              <ul>
                <li><a href="{{ url_for('index') }}">stream</a></li>
                <li><a href="{{ url_for('articles') }}">articles</a></li>
                <li><a href="{{ url_for('everything') }}">everything</a></li>

                {% if authenticated %}
                <li><a href="{{ url_for('settings') }}">settings</a></li>
                <li><a href="{{ url_for('logout') }}">logout</a></li>
                {% else %}
                <li>
                  <form action="http://indieauth.com/auth" method="get">
                    <input id="indie_auth_url" type="text" name="me" placeholder="yourdomain.com" />
                    <button type="submit">Sign In</button>
                    <input type="hidden" name="redirect_uri" value="{{ url_for('indie_auth', _external=True) }}" />
                  </form>
                </li>

                {% endif %}
              </ul>
              {% if authenticated %}
              <ul>
                <li>new:</li>
                <li><a href="{{ url_for('new_post', post_type='article') }}">article</a></li>
                <li><a href="{{ url_for('new_post', post_type='note') }}">note</a></li>
                <li><a href="{{ url_for('new_post', post_type='reply') }}">reply</a></li>
                <li><a href="{{ url_for('new_post', post_type='share') }}">share</a></li>
                <li><a href="{{ url_for('new_post', post_type='like') }}">like</a></li>
              </ul>
              {% endif %}
            </nav>
          </div>
        </div>
      </header>


      <div class="flashes">
        {% with messages = get_flashed_messages() %}
        {% if messages %}
        <ul class=flashes>
          {% for message in messages %}
          <li>{{ message }}</li>
          {% endfor %}
        </ul>
        {% endif %}
        {% endwith %}
      </div>


      <div class="section group">
          {% block content %}{% endblock content %}
      </div>
    </div>

<!-- Piwik -->
<script type="text/javascript">
var _paq = _paq || [];
_paq.push(["trackPageView"]);
_paq.push(["enableLinkTracking"]);

(function() {
    var u=(("https:" == document.location.protocol) ? "https" : "http") + "://piwik.kylewm.com/";
    _paq.push(["setTrackerUrl", u+"piwik.php"]);
    _paq.push(["setSiteId", "1"]);
    var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript";
    g.defer=true; g.async=true; g.src=u+"piwik.js"; s.parentNode.insertBefore(g,s);
})();
</script>
<!-- End Piwik Code -->

  </body>
</html>

{'fraction_non_alphanumeric': 0.2242796316466977, 'fraction_numerical': 0.010694128131498169, 'mean_word_length': 2.687477181453085, 'pattern_counts': {'":': 1, '<': 269, '<?xml version=': 0, '>': 267, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 6}, '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': '1262516', 'n_tokens_mistral': 3486, 'n_tokens_neox': 3231, 'n_words': 632}