<commit_before>---
layout: index
permalink: /
---

{% assign site_author = site.author.name | default: site.author | default: site.title | default: site.name %}
{% if site_author %}
  {% assign site_author = site_author | smartify | strip_html | strip_newlines | escape_once %}
{% endif %}

{% assign site_author_bio = site.author.bio | default: site.description %}
{% if site_author_bio %}
  {% assign site_author_bio = site_author_bio | smartify | strip_html | strip_newlines | truncate: 160 | escape_once %}
{% endif %}

{% assign site_author_avatar = site.author.avatar | default: site.logo.path | default: site.logo %}
{% if site_author_avatar %}
  {% assign site_author_avatar = site_author_avatar | escape %}
{% endif %}

<main class="hero-profile is-loading" role="main" itemscope itemtype="https://schema.org/Person">

  <section class="inner-wrapper">

      <span class="hero-avatar-wrapper">
        <a itemprop="url" href="/">
          <img class="hero-avatar" itemprop="image" src="{{ site_author_avatar }}" alt="{{ site_author }}">
        </a>
      </span>

      <h1 class="hero-title" itemprop="name">{{ site_author }}</h1>

      <p class="hero-description" itemprop="description">{{ site_author_bio }}</p>

      <ul class="hero-social">
        {% if site.author.facebook %}<li><a itemprop="sameAs" rel="me" href="//www.facebook.com/{{ site.author.facebook }}" class="fa fa-facebook"><span class="label">Facebook</span></a></li>{% endif %}
        {% if site.author.twitter %}<li><a itemprop="sameAs" rel="me" href="//twitter.com/{{ site.author.twitter }}" class="fa fa-twitter"><span class="label">Twitter</span></a></li>{% endif %}
        {% if site.author.instagram %}<li><a itemprop="sameAs" rel="me" href="//instagram.com/{{ site.author.instagram }}" class="fa fa-instagram"><span class="label">Instagram</span></a></li>{% endif %}
      </ul>

  </section>

  {% if site.author %}
    <span class="hide" itemprop="address" itemscope itemtype="https://schema.org/PostalAddress">
      {% if site.author.street %}<meta itemprop="streetAddress" content="{{ site.author.street }}">{% endif %}
      {% if site.author.locality %}<meta itemprop="addressLocality" content="{{ site.author.locality }}">{% endif %}
      {% if site.author.region %}<meta itemprop="addressRegion" content="{{ site.author.region }}">{% endif %}
      {% if site.author.country %}<meta itemprop="addressCountry" content="{{ site.author.country }}">{% endif %}
      {% if site.author.postcode %}<meta itemprop="postalCode" content="{{ site.author.postcode }}">{% endif %}
    </span><!-- /itemscope itemtype PostalAddress -->
  {% endif %}

</main><commit_msg>Update index.html<commit_after>---
layout: index
permalink: /
---

{% assign site_author = site.author.name | default: site.author | default: site.title | default: site.name %}
{% if site_author %}
  {% assign site_author = site_author | smartify | strip_html | strip_newlines | escape_once %}
{% endif %}

{% assign site_author_bio = site.author.bio | default: site.description %}
{% if site_author_bio %}
  {% assign site_author_bio = site_author_bio | smartify | strip_html | strip_newlines | truncate: 160 | escape_once %}
{% endif %}

{% assign site_author_avatar = site.author.avatar | default: site.logo.path | default: site.logo %}
{% if site_author_avatar %}
  {% assign site_author_avatar = site_author_avatar | escape %}
{% endif %}

<main class="hero-profile is-loading" role="main" itemscope itemtype="https://schema.org/Person">

  <section class="inner-wrapper">

      <span class="hero-avatar-wrapper">
        <a itemprop="url" href="/">
          <img class="hero-avatar" itemprop="image" src="{{ site_author_avatar }}" alt="{{ site_author }}">
        </a>
      </span>

      <h1 class="hero-title" itemprop="name">{{ site_author }}</h1>

      <p class="hero-description" itemprop="description">{{ site_author_bio }}</p>

      <ul class="hero-social">
        {% if site.author.instagram %}<li><a itemprop="sameAs" rel="me" href="//instagram.com/{{ site.author.instagram }}" class="fa fa-instagram"><span class="label">Instagram</span></a></li>{% endif %}
        {% if site.author.twitter %}<li><a itemprop="sameAs" rel="me" href="//twitter.com/{{ site.author.twitter }}" class="fa fa-twitter"><span class="label">Twitter</span></a></li>{% endif %}
        {% if site.author.facebook %}<li><a itemprop="sameAs" rel="me" href="//facebook.com/{{ site.author.facebook }}" class="fa fa-facebook"><span class="label">Facebook</span></a></li>{% endif %}
      </ul>

  </section>

  {% if site.author %}
    <span class="hide" itemprop="address" itemscope itemtype="https://schema.org/PostalAddress">
      {% if site.author.street %}<meta itemprop="streetAddress" content="{{ site.author.street }}">{% endif %}
      {% if site.author.locality %}<meta itemprop="addressLocality" content="{{ site.author.locality }}">{% endif %}
      {% if site.author.region %}<meta itemprop="addressRegion" content="{{ site.author.region }}">{% endif %}
      {% if site.author.country %}<meta itemprop="addressCountry" content="{{ site.author.country }}">{% endif %}
      {% if site.author.postcode %}<meta itemprop="postalCode" content="{{ site.author.postcode }}">{% endif %}
    </span><!-- /itemscope itemtype PostalAddress -->
  {% endif %}

</main>
{'fraction_non_alphanumeric': 0.1984216459977452, 'fraction_numerical': 0.0018789928598271326, 'mean_word_length': 4.228880157170924, 'pattern_counts': {'":': 0, '<': 85, '<?xml version=': 0, '>': 85, 'https://': 4, 'lorem ipsum': 0, 'www.': 1, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2529161', 'n_tokens_mistral': 1805, 'n_tokens_neox': 1634, 'n_words': 342}