<commit_before>{% extends "page.twig" %}

{% block content %}
  <article>
    {% if post.content %}
      <section class="mw7" id="mission">
        {% include "components/title.twig" with { "content": "Mission" } %}

        <div>
          {{ post.content }}
        </div>
      </section>
    {% endif %}

    {% if post.what_we_do %}
      <section class="mw7" id="what-we-do">
        {% include "components/title.twig" with { "content": "What We Do" } %}

        <div>
          {{ post.what_we_do }}
        </div>
      </section>
    {% endif %}
    </section>

    {% if post.history %}
      <section class="mw7" id="history">
        {% include "components/title.twig" with { "content": "History" } %}

        <div>
          {{ post.history }}
        </div>
      </section>
    {% endif %}

    {% set partners = post.get_field("partners") %}
    {% if partners %}
      <section>
        {% include "components/title.twig" with {"content": "Partners" } %}

        <div class="flex-m flex-wrap-m">
          {% for partner in partners %}
            <div class="flex-m justify-center-m items-center w-50-m w-33-l ph4">
              <a href="{{ partner.url }}" target="_blank"><img class="dib grayscale"
                 src="{{ TimberImage(partner.logo).src("medium") }}"
                 title="{{ partner.name }}" alt="{{ partner.name }}"></a>
            </div>
          {% endfor %}
        </div>
      </section>
    {% endif %}

    {% if post.sponsors %}
      <section>
        {% include "components/title.twig" with {"content": "Sponsors" } %}

        {% set sponsor_tiers = {
          "platinum": "Platinum",
          "gold": "Gold",
          "silver": "Silver",
          "media": "Media"
        } %}

        {% for tier, tier_label in sponsor_tiers %}
          {% set sponsors = post.get_field(tier ~ "_sponsors") %}

          {% if sponsors %}
            <h2 class="mb3">
              {% include "components/metadata.twig" with { "content": tier_label } %}
            </h2>

            <div class="flex-m flex-wrap-m mb4">
              {% for sponsor in sponsors %}
                <div class="flex-m justify-center-m items-center-m w-33-m w-25-l ph4">
                  <a href="{{ sponsor.url }}" target="_blank"><img class="dib grayscale"
                     src="{{ TimberImage(sponsor.logo).src("medium") }}"
                     title="{{ sponsor.name }}" alt="{{ sponsor.name }}"></a>
                </div>
              {% endfor %}
            </div>
          {% endif %}
        {% endfor %}
      </section>
    {% endif %}
  </article>
{% endblock %}<commit_msg>Update responsive styles for sponsor logos<commit_after>{% extends "page.twig" %}

{% block content %}
  <article>
    {% if post.content %}
      <section class="mw7" id="mission">
        {% include "components/title.twig" with { "content": "Mission" } %}

        <div>
          {{ post.content }}
        </div>
      </section>
    {% endif %}

    {% if post.what_we_do %}
      <section class="mw7" id="what-we-do">
        {% include "components/title.twig" with { "content": "What We Do" } %}

        <div>
          {{ post.what_we_do }}
        </div>
      </section>
    {% endif %}
    </section>

    {% if post.history %}
      <section class="mw7" id="history">
        {% include "components/title.twig" with { "content": "History" } %}

        <div>
          {{ post.history }}
        </div>
      </section>
    {% endif %}

    {% set partners = post.get_field("partners") %}
    {% if partners %}
      <section>
        {% include "components/title.twig" with {"content": "Partners" } %}

        <div class="flex-m flex-wrap-m">
          {% for partner in partners %}
            <div class="flex-m justify-center-m items-center w5 w-50-m w-33-l pa4">
              <a href="{{ partner.url }}" target="_blank"><img class="dib grayscale"
                 src="{{ TimberImage(partner.logo).src("medium") }}"
                 title="{{ partner.name }}" alt="{{ partner.name }}"></a>
            </div>
          {% endfor %}
        </div>
      </section>
    {% endif %}

    {% if post.sponsors %}
      <section>
        {% include "components/title.twig" with {"content": "Sponsors" } %}

        {% set sponsor_tiers = {
          "platinum": "Platinum",
          "gold": "Gold",
          "silver": "Silver",
          "media": "Media"
        } %}

        {% for tier, tier_label in sponsor_tiers %}
          {% set sponsors = post.get_field(tier ~ "_sponsors") %}

          {% if sponsors %}
            <h2 class="mb3">
              {% include "components/metadata.twig" with { "content": tier_label } %}
            </h2>

            <div class="flex-m flex-wrap-m">
              {% for sponsor in sponsors %}
                <div class="flex-m justify-center-m items-center-m w5 w-33-m w-25-l pa4">
                  <a href="{{ sponsor.url }}" target="_blank"><img class="dib grayscale"
                     src="{{ TimberImage(sponsor.logo).src("medium") }}"
                     title="{{ sponsor.name }}" alt="{{ sponsor.name }}"></a>
                </div>
              {% endfor %}
            </div>
          {% endif %}
        {% endfor %}
      </section>
    {% endif %}
  </article>
{% endblock %}
{'fraction_non_alphanumeric': 0.18322922581866363, 'fraction_numerical': 0.006625023660798789, 'mean_word_length': 1.7251160391954616, 'pattern_counts': {'":': 20, '<': 73, '<?xml version=': 0, '>': 73, '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': '336245', 'n_tokens_mistral': 1773, 'n_tokens_neox': 1559, 'n_words': 348}