<commit_before>{% if page.hero.image %}
  {% assign header_style = "background:url(" | append: page.hero.image | append: ");" %}
{% else %}
  {% assign header_style = "background-color:" | append: page.hero.background_color %}
{% endif %}

<header style="{{ header_style }}">
  <div class="page-hero">

    <nav class="navbar navbar-expand navbar-dark justify-content-between">
      <a class="navbar-brand" href="/">
        <img src={{ "uploads/logo-only.svg" | relative_url }} height="120" alt="Logo">
      </a>
      <ul class="nav nav-pills">
        {% assign pages = site.pages | sort: 'position' %}
        {% for page in pages %}
        {% if page.is_nav_page %}
        <li class="nav-item">
          <a href={{ page.url | escape }} class="nav-link" style="color:white">{{ page.title }}</a>
        </li>
        {% endif %}
        {% endfor %}

        {% assign call_to_action = site.data.nav.call_to_action %}
        <li class="nav-item">
          <a href={{ call_to_action.url | escape }} class="nav-link active">{{ call_to_action.title }}</a>
        </li>
      </ul>
    </nav>

    <div class="row page-hero-copy">
      <div class="col">
        {% if page.display_title %}
        <h1 class="display-1"> {{ page.display_title }} </h1>
        {% else %}
        <h1 class="display-1"> {{ page.title }} </h1>
        {% endif %}

        {% if page.subtitle %}
        <h2 class="page-hero-subtitle"> {{ page.subtitle }} </h2>
        {% endif %}

        {% if page.hero.body %}
        {{ page.hero.body | markdownify }}
        {% endif %}
      </div>
    </div>
  
  </div>
</header><commit_msg>Updated header forloop<commit_after>{% if page.hero.image %}
  {% assign header_style = "background:url(" | append: page.hero.image | append: ");" %}
{% else %}
  {% assign header_style = "background-color:" | append: page.hero.background_color %}
{% endif %}

<header style="{{ header_style }}">
  <div class="page-hero">

    <nav class="navbar navbar-expand navbar-dark justify-content-between">
      <a class="navbar-brand" href="/">
        <img src={{ "uploads/logo-only.svg" | relative_url }} height="120" alt="Logo">
      </a>
      
      <ul class="nav nav-pills">
        
        {% assign pages = site.pages | where:"is_nav_page",true | sort: 'position' %}
        {% for page in pages %}
        <li class="nav-item">
          <a href={{ page.url | escape }} class="nav-link" style="color:white">{{ page.title }}</a>
        </li>
        {% endfor %}

        {% assign call_to_action = site.data.nav.call_to_action %}
        <li class="nav-item">
          <a href={{ call_to_action.url | escape }} class="nav-link active">{{ call_to_action.title }}</a>
        </li>
      
      </ul>
    </nav>

    <div class="row page-hero-copy">
      <div class="col">
        {% if page.display_title %}
        <h1 class="display-1"> {{ page.display_title }} </h1>
        {% else %}
        <h1 class="display-1"> {{ page.title }} </h1>
        {% endif %}

        {% if page.subtitle %}
        <h2 class="page-hero-subtitle"> {{ page.subtitle }} </h2>
        {% endif %}

        {% if page.hero.body %}
        {{ page.hero.body | markdownify }}
        {% endif %}
      </div>
    </div>
  
  </div>
</header>
{'fraction_non_alphanumeric': 0.1966205837173579, 'fraction_numerical': 0.006758832565284178, 'mean_word_length': 2.2690763052208833, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 0, '>': 61, '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': '1317537', 'n_tokens_mistral': 1141, 'n_tokens_neox': 1051, 'n_words': 223}