<commit_before>{{ partial "head" . }}

{{ if (eq (trim .Site.Params.provider " " | lower) "github") | and (isset .Site.Params "repo_url") }}
  {{ $repo_id := replace .Site.Params.repo_url "https://github.com/" ""}}
  {{ .Scratch.Set "repo_id" $repo_id }}
{{ end }}

<div class="backdrop">
  <div class="backdrop-paper"></div>
</div>

<input class="toggle" type="checkbox" id="toggle-drawer">
<input class="toggle" type="checkbox" id="toggle-search">
<label class="toggle-button overlay" for="toggle-drawer"></label>

<header class="header">
  {{ partial "header" . }}
</header>

<main class="main">
  <div class="drawer">
    {{ partial "drawer" . }}
  </div>

  <article class="article">
    <div class="wrapper">
      <h1>{{ .Title }} {{ if .IsDraft }} (Draft){{ end }}</h1>
        
        {{ .Content }}
        
        <h2>Pick a Platform</h2>
        <div class="landingButtonHolder">
          {{ $product := .Section }}
          {{ $product2 := replace $product "-" "_" }}
          {{ $product_info := (index .Site.Params.products $product2) }}
          {{ range (index $product_info.versions .Params.version) }} 
            {{ $platform := . }}
            {{ $platform2 := replace $platform " " "-" }}
            {{ $platform2 := lower $platform2 }}
            <div class="landingButton"><a onClick="setPlatformCookie('{{ $platform2 }}')" href="client-installation">{{ $platform }}</a></div>
          {{ end }}
        </div>
      </div>

      <aside class="copyright" role="note">
        {{ with .Site.Params.copyright }}
          &copy; {{ now.Format "2006" }} {{ . }} &ndash;
        {{ end }}
        Documentation built with
        <a href="https://www.gohugo.io" target="_blank">Hugo</a>
        using the
        <a href="http://github.com/digitalcraftsman/hugo-material-docs" target="_blank">Material</a> theme.
      </aside>

      <footer class="footer">
        {{ partial "footer" . }}
      </footer>
    </div>
  </article><commit_msg>Update landing page to give proper cased cookie<commit_after>{{ partial "head" . }}

{{ if (eq (trim .Site.Params.provider " " | lower) "github") | and (isset .Site.Params "repo_url") }}
  {{ $repo_id := replace .Site.Params.repo_url "https://github.com/" ""}}
  {{ .Scratch.Set "repo_id" $repo_id }}
{{ end }}

<div class="backdrop">
  <div class="backdrop-paper"></div>
</div>

<input class="toggle" type="checkbox" id="toggle-drawer">
<input class="toggle" type="checkbox" id="toggle-search">
<label class="toggle-button overlay" for="toggle-drawer"></label>

<header class="header">
  {{ partial "header" . }}
</header>

<main class="main">
  <div class="drawer">
    {{ partial "drawer" . }}
  </div>

  <article class="article">
    <div class="wrapper">
      <h1>{{ .Title }} {{ if .IsDraft }} (Draft){{ end }}</h1>
        
        {{ .Content }}
        
        <h2>Pick a Platform</h2>
        <div class="landingButtonHolder">
          {{ $product := .Section }}
          {{ $product2 := replace $product "-" "_" }}
          {{ $product_info := (index .Site.Params.products $product2) }}
          {{ range (index $product_info.versions .Params.version) }} 
            {{ $platform := . }}
            {{ $platform2 := replace $platform " " "-" }}
            <div class="landingButton"><a onClick="setPlatformCookie('{{ $platform2 }}')" href="client-installation">{{ $platform }}</a></div>
          {{ end }}
        </div>
      </div>

      <aside class="copyright" role="note">
        {{ with .Site.Params.copyright }}
          &copy; {{ now.Format "2006" }} {{ . }} &ndash;
        {{ end }}
        Documentation built with
        <a href="https://www.gohugo.io" target="_blank">Hugo</a>
        using the
        <a href="http://github.com/digitalcraftsman/hugo-material-docs" target="_blank">Material</a> theme.
      </aside>

      <footer class="footer">
        {{ partial "footer" . }}
      </footer>
    </div>
  </article>
{'fraction_non_alphanumeric': 0.2073697585768742, 'fraction_numerical': 0.006607369758576874, 'mean_word_length': 2.6043956043956045, 'pattern_counts': {'":': 0, '<': 75, '<?xml version=': 0, '>': 75, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, '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': '5874135', 'n_tokens_mistral': 1264, 'n_tokens_neox': 1233, 'n_words': 257}