<commit_before>---
layout: base
---

<main class="clear">

  <header class="page-header container">
    <h2 class="xxlarge text-divider">{{ page.title }}</h2>
    {% if page.description %}
      <p class="page-header__excerpt g-wide--push-1 g-wide--pull-1">
        {{ page.description }}
      </p>
    {% endif %}
  </header>

  <section class="download-promo">
    <div class="container">
      <ul class="list-centered list--reset clear">
        <li>
          <a class="button--primary" href="https://github.com/youtube/spfjs/releases/download/v2.0.0/spfjs-2.0.0-dist.zip">
            <i class="icon mega-octicon octicon-cloud-download"></i>
            <span>Download SPF</span>
          </a>
        </li>
        <li>
          <a class="button--secondary" href="https://github.com/youtube/spfjs/archive/v2.0.0.zip">
            <i class="icon mega-octicon octicon-code"></i>
            <span>Download source</span>
          </a>
        </li>
        <li>
          <a class="button--secondary" href="https://github.com/youtube/spfjs">
           <i class="icon mega-octicon octicon-mark-github"></i>
           <span>View on GitHub</span>
          </a>
        </li>
      </ul>
    </div>
  </section>

  <div class="container">
    {{ content}}
  </div>

</main>
<commit_msg>Website: ensure download buttons link to the latest release.<commit_after>---
layout: base
---

<main class="clear">

  <header class="page-header container">
    <h2 class="xxlarge text-divider">{{ page.title }}</h2>
    {% if page.description %}
      <p class="page-header__excerpt g-wide--push-1 g-wide--pull-1">
        {{ page.description }}
      </p>
    {% endif %}
  </header>

  <section class="download-promo">
    <div class="container">
      <ul class="list-centered list--reset clear">
        <li>
          <a class="button--primary" href="https://github.com/youtube/spfjs/releases/download/v{{ site.version }}/spfjs-{{ site.version }}-dist.zip">
            <i class="icon mega-octicon octicon-cloud-download"></i>
            <span>Download SPF</span>
          </a>
        </li>
        <li>
          <a class="button--secondary" href="https://github.com/youtube/spfjs/archive/v{{ site.version }}.zip">
            <i class="icon mega-octicon octicon-code"></i>
            <span>Download source</span>
          </a>
        </li>
        <li>
          <a class="button--secondary" href="https://github.com/youtube/spfjs">
           <i class="icon mega-octicon octicon-mark-github"></i>
           <span>View on GitHub</span>
          </a>
        </li>
      </ul>
    </div>
  </section>

  <div class="container">
    {{ content}}
  </div>

</main>

{'fraction_non_alphanumeric': 0.18899700598802396, 'fraction_numerical': 0.006362275449101796, 'mean_word_length': 2.1045296167247387, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 83, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 11, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7364339', 'n_tokens_mistral': 901, 'n_tokens_neox': 867, 'n_words': 166}