<commit_before>---
layout: site
title: Board Games
permalink: /games/
---

<!-- Main -->
<div id="main">
<section class="two">

  <div class="container">
    
    <header>
      <h2 class="alt">{{ page.title }}</h2>
    </header>
    
    <div class="row"></div>
    
    <div class="row" style="text-align: justify;">
      <div class="2u"></div>
      <div class="8u">


        <table>
        <thead>
          <tr>
            <th style="text-align: left">Title</th>
            <th style="text-align: left">Players</th>
            <th style="text-align: left">Time</th>
            <th style="text-align: left">Type</th>
            <th style="text-align: right"> </th>
          </tr>
        </thead>
        <tbody>
          {% for game in site.games %}
            <tr>
              <td style="text-align: left">{{ game.title }}</td>
              <td style="text-align: left">{{ game.players }}</td>
              <td style="text-align: left">{{ game.time }}</td>
              <td style="text-align: left">{{ game.type }}</td>
              <td style="text-align: right"><a href="{{ game.link }}"></a></td>
            </tr>
          {% endfor %}
        </tbody>
        </table>


      </div>
      <div class="2u"></div>
      <!-- TODO replace with better resource too? -->
      <!--<script src="/vendor/jquery.tablesorter/js/jquery.tablesorter.min.js"></script>-->
      <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.tablesorter/2.26.6/js/jquery.tablesorter.min.js"></script>
      <link rel="stylesheet" href="/css/table.css" />
      <script>
        $("table").addClass("tablesorter");
        $(document).ready(function(){
          $(".tablesorter").tablesorter({sortList: [[1,0]]});
        });
        $(".tablesorter a").addClass("fa fa-globe solo").attr("style", "font-size: 90%;").attr("target", "_blank");
      </script>
    </div>
  
  </div>

</section>
</div>
<commit_msg>add support for offline jquery table sorting<commit_after>---
layout: site
title: Board Games
permalink: /games/
---

{% if jekyll.environment == "production" %}
  {% assign resources = site.resources %}
  <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.tablesorter/2.26.6/js/jquery.tablesorter.min.js"></script>
{% else %}
  {% assign resources = "/resources/" %}
  <script src="/vendor/tablesorter/jquery.tablesorter.min.js"></script>
{% endif %}

<!-- Main -->
<div id="main">
<section class="two">

  <div class="container">
    
    <header>
      <h2 class="alt">{{ page.title }}</h2>
    </header>
    
    <div class="row"></div>
    
    <div class="row" style="text-align: justify;">
      <div class="2u"></div>
      <div class="8u">


        <table>
        <thead>
          <tr>
            <th style="text-align: left">Title</th>
            <th style="text-align: left">Players</th>
            <th style="text-align: left">Time</th>
            <th style="text-align: left">Type</th>
            <th style="text-align: right"> </th>
          </tr>
        </thead>
        <tbody>
          {% for game in site.games %}
            <tr>
              <td style="text-align: left">{{ game.title }}</td>
              <td style="text-align: left">{{ game.players }}</td>
              <td style="text-align: left">{{ game.time }}</td>
              <td style="text-align: left">{{ game.type }}</td>
              <td style="text-align: right"><a href="{{ game.link }}"></a></td>
            </tr>
          {% endfor %}
        </tbody>
        </table>


      </div>
      <div class="2u"></div>
      <link rel="stylesheet" href="/css/table.css" />
      <script>
        $("table").addClass("tablesorter");
        $(document).ready(function(){
          $(".tablesorter").tablesorter({sortList: [[1,0]]});
        });
        $(".tablesorter a").addClass("fa fa-globe solo").attr("style", "font-size: 90%;").attr("target", "_blank");
      </script>
    </div>
  
  </div>

</section>
</div>

{'fraction_non_alphanumeric': 0.21752342365155736, 'fraction_numerical': 0.006583945302608255, 'mean_word_length': 2.0859375, 'pattern_counts': {'":': 0, '<': 125, '<?xml version=': 0, '>': 125, 'https://': 2, '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': '6286055', 'n_tokens_mistral': 1312, 'n_tokens_neox': 1255, 'n_words': 253}