<commit_before>---
navigation:
 - text: Home
   url: /
 - text: Blog
   url: /blog/
 - text: Projects
   url: /projects/
 - text: Books
   url: /books/
 - text: About
   url: /about/
---
<!DOCTYPE html>
<html lang="en-US">

  {% include head.html %}

  <body class="{{ page.slug }}">

    {% comment %}
      I'm leaving the header/footer in this file intentionally.
      I favor html-readability over including for the sake of including.
      See: http://ben.balter.com/jekyll-style-guide/layouts-and-includes/#header-and-footer-includes
    {% endcomment %}

    <header class="site-header">
      <nav class="main-nav">
        <ul>
          {% for link in layout.navigation %}
            {% assign class = nil %}
            {% if page.url == link.url %}
              {% assign class = 'is--active' %}
            {% endif %}
            <li><a class="{{ class }}" href="{{ link.url }}">{{ link.text }}</a></li>
          {% endfor %}
        </ul>
      </nav>
    </header>

    {% if page.url == '/' %}
      <div class="intro">
        <div class="intro__logo">{% include logo.html %}</div>
        <div class="intro__bio">
          <p>Hey there! My name is Bryan and I'm a frontend developer, currently building web applications at Sparkbox. <a class="intro__more" href="/about/">(more about me here)</a></p>
          <p>I write about side-projects, web development, education, and things that inspire me.
            <span class="intro__subscribe">
              <svg viewBox="0 0 800 800">
                <path d="M493 652H392c0-134-111-244-244-244V307c189 0 345 156 345 345zm71 0c0-228-188-416-416-416V132c285 0 520 235 520 520z"></path>
                <circle cx="219" cy="581" r="71"></circle>
              </svg>
              Subscribe via <a href="http://eepurl.com/dcTne5">email</a> or <a href="/rss.xml">RSS</a></span>
          </p>
        </div>
      </div>
    {% else %}
      {% include logo.html %}
    {% endif %}

    {% assign logo_scripts = site.static_files | where_exp: 'script', 'script.path contains "/assets/js/logo/"' %}
    <script>
      (function(d) {
        var HIGHEST_SCRIPT_NUMBER = {{ logo_scripts.size }};
        var logoNum = Math.ceil(Math.random() * HIGHEST_SCRIPT_NUMBER);
        var scriptEl = d.createElement('script');
        scriptEl.src = '/assets/js/logo/logo-script' + logoNum + '.js';
        d.querySelector('.logo-wrapper').appendChild(scriptEl);
      })(document);
    </script>

    <div class="page-content">
      {% if page.is_post %}
        {% comment %} Don't print a page-level title. It will be printed in the post template. {% endcomment %}
      {% else %}
        {% if page.title %}
          <h1 class="page-title">{{ page.title }}</h1>
        {% endif %}
      {% endif %}

      {{ content }}<commit_msg>:bug: fix the animated logos that I broke by renaming files<commit_after>---
navigation:
 - text: Home
   url: /
 - text: Blog
   url: /blog/
 - text: Projects
   url: /projects/
 - text: Books
   url: /books/
 - text: About
   url: /about/
---
<!DOCTYPE html>
<html lang="en-US">

  {% include head.html %}

  <body class="{{ page.slug }}">

    {% comment %}
      I'm leaving the header/footer in this file intentionally.
      I favor html-readability over including for the sake of including.
      See: http://ben.balter.com/jekyll-style-guide/layouts-and-includes/#header-and-footer-includes
    {% endcomment %}

    <header class="site-header">
      <nav class="main-nav">
        <ul>
          {% for link in layout.navigation %}
            {% assign class = nil %}
            {% if page.url == link.url %}
              {% assign class = 'is--active' %}
            {% endif %}
            <li><a class="{{ class }}" href="{{ link.url }}">{{ link.text }}</a></li>
          {% endfor %}
        </ul>
      </nav>
    </header>

    {% if page.url == '/' %}
      <div class="intro">
        <div class="intro__logo">{% include logo.html %}</div>
        <div class="intro__bio">
          <p>Hey there! My name is Bryan and I'm a frontend developer, currently building web applications at Sparkbox. <a class="intro__more" href="/about/">(more about me here)</a></p>
          <p>I write about side-projects, web development, education, and things that inspire me.
            <span class="intro__subscribe">
              <svg viewBox="0 0 800 800">
                <path d="M493 652H392c0-134-111-244-244-244V307c189 0 345 156 345 345zm71 0c0-228-188-416-416-416V132c285 0 520 235 520 520z"></path>
                <circle cx="219" cy="581" r="71"></circle>
              </svg>
              Subscribe via <a href="http://eepurl.com/dcTne5">email</a> or <a href="/rss.xml">RSS</a></span>
          </p>
        </div>
      </div>
    {% else %}
      {% include logo.html %}
    {% endif %}

    {% assign logo_scripts = site.static_files | where_exp: 'script', 'script.path contains "/assets/js/logo/"' %}
    <script>
      (function(d) {
        var HIGHEST_SCRIPT_NUMBER = {{ logo_scripts.size }};
        var logoNum = Math.ceil(Math.random() * HIGHEST_SCRIPT_NUMBER);
        var logoNumString = logoNum.toString().padStart(2, '0');
        var scriptEl = d.createElement('script');
        scriptEl.src = '/assets/js/logo/logo-script-' + logoNumString + '.js';
        d.querySelector('.logo-wrapper').appendChild(scriptEl);
      })(document);
    </script>

    <div class="page-content">
      {% if page.is_post %}
        {% comment %} Don't print a page-level title. It will be printed in the post template. {% endcomment %}
      {% else %}
        {% if page.title %}
          <h1 class="page-title">{{ page.title }}</h1>
        {% endif %}
      {% endif %}

      {{ content }}
{'fraction_non_alphanumeric': 0.16841736694677872, 'fraction_numerical': 0.03571428571428571, 'mean_word_length': 2.1650969529085873, 'pattern_counts': {'":': 0, '<': 87, '<?xml version=': 0, '>': 87, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '2090879', 'n_tokens_mistral': 2044, 'n_tokens_neox': 1745, 'n_words': 462}