<commit_before>---
layout: default
section: page-listing
schema: https://schema.org/WebPage
---
{% assign box_classes = 'col-12 sm-col-6 md-col-6 lg-col-4 rounded pr2 mb2 black text-decoration-none'  %}
{% assign box_inner_classes = 'pb1 pt1 rounded relative transition bg-primary-color-light'  %}
{% assign box_link_classes = 'text-decoration-none block px2 py1 hover-primary-color-dark hover-bg-primary-color-light'  %}
{% assign showcase_item_links = 'col-12 sm-col-6 md-col-6 lg-col-6 sm-pr3 mb4 black text-decoration-none'  %}
{% assign link_classes = 'dont-display-child-until-hover my1 px2 py1 bg-near-white hover-bg-silver col-12 transition' %}

{% assign resources = page.resources %}
{% assign links = page.urls  %}
{% assign slug = page.slug  %}
{% assign related_links = site.links | where_exp: 'item', 'item.tool contains slug' %}
{% assign related_tools = site.tools | where_exp: 'item', 'item.tag contains slug' %}
{% assign tool_type = page.tool_type %}
{% assign showcase = site.showcase | where_exp: 'item', 'item.tools contains slug' | sort: 'date' | reverse %}
{% assign related_articles = site.posts | where_exp: 'item', 'item.tool contains slug' %}



{% if page.url == '/tools/' %}
  {% assign tools = site.tools | sort: 'title', 'last'%}
{% else %}
  {% assign tools = site.tools | where_exp: 'item','item.tool_type contains page.slug' | sort: 'title', 'last' %}
  {% assign title = page.title  %}
{% endif %}

<div class="clearfix col-12 mb3">
  {% for tool in tool_type %}
    {% assign tool_types = site.tool_type | where: 'slug', tool %}
    {% for object in tool_types  %}
      {% include components/buttons-tools-list.html %}
    {% endfor %}
  {% endfor %}
</div>

<h1 class="m0 md-h00">
  {{ page.title }}
</h1>
{% if page.description %}
  <h2 class="mt0 mb2">
    {{ page.description }}
  </h2>
{% endif %}

<div class="flex flex-wrap">

  <div class="{{ box_classes }} pr2 ">
    <div class="{{ box_inner_classes }} px2 pb2">
      {{ page.content | markdownify }}


      {% if related_articles.size > 0 %}
          {% for object in related_articles %}
              <h3>
                <a href="{{ object.url }}" class="text-decoration-none hover-primary-color-dark">
                  {{ object.title }}
                </a>
              </h3>
          {% endfor %}
      {% endif %}

    </div>
  </div>

  {% if resources.size > 0 or links.website or links.github or links.twitter  %}
    <div class="{{ box_classes }} pr2 ">
      <h3 class="m0 center bg-accent-color primary-color-light col-12 py1">
        Resources
      </h3><commit_msg>Add link to related articles on pages with showcase items.<commit_after>---
layout: default
section: page-listing
schema: https://schema.org/WebPage
---
{% assign box_classes = 'col-12 sm-col-6 md-col-6 lg-col-4 rounded pr2 mb2 black text-decoration-none'  %}
{% assign box_inner_classes = 'pb1 pt1 rounded relative transition bg-primary-color-light'  %}
{% assign box_link_classes = 'text-decoration-none block px2 py1 hover-primary-color-dark hover-bg-primary-color-light'  %}
{% assign showcase_item_links = 'col-12 sm-col-6 md-col-6 lg-col-6 sm-pr3 mb4 black text-decoration-none'  %}
{% assign link_classes = 'dont-display-child-until-hover my1 px2 py1 bg-near-white hover-bg-silver col-12 transition' %}

{% assign resources = page.resources %}
{% assign links = page.urls  %}
{% assign slug = page.slug  %}
{% assign related_links = site.links | where_exp: 'item', 'item.tool contains slug' %}
{% assign related_tools = site.tools | where_exp: 'item', 'item.tag contains slug' %}
{% assign tool_type = page.tool_type %}
{% assign showcase = site.showcase | where_exp: 'item', 'item.tools contains slug' | sort: 'date' | reverse %}
{% assign related_articles = site.posts | where_exp: 'item', 'item.tool contains slug' %}



{% if page.url == '/tools/' %}
  {% assign tools = site.tools | sort: 'title', 'last'%}
{% else %}
  {% assign tools = site.tools | where_exp: 'item','item.tool_type contains page.slug' | sort: 'title', 'last' %}
  {% assign title = page.title  %}
{% endif %}

<div class="clearfix col-12 mb3">
  {% for tool in tool_type %}
    {% assign tool_types = site.tool_type | where: 'slug', tool %}
    {% for object in tool_types  %}
      {% include components/buttons-tools-list.html %}
    {% endfor %}
  {% endfor %}
</div>

<h1 class="m0 md-h00">
  {{ page.title }}
</h1>
{% if page.description %}
  <h2 class="mt0 mb2">
    {{ page.description }}
  </h2>
{% endif %}

<div class="flex flex-wrap">

  <div class="{{ box_classes }} pr2 ">
    <div class="{{ box_inner_classes }} px2 pb2">
      {{ page.content | markdownify }}


      {% if related_articles.size > 0 %}

          {% for object in related_articles %}
              <h3>
                <a href="{{ object.url }}" class="text-decoration-none hover-primary-color-dark">
                  {{ object.title }}
                </a>
              </h3>
          {% endfor %}
      {% endif %}

      {% if related_links.size > 0 %}
      {% if showcase.size > 0 %}
      <h3>
        <a href="#links" class="text-decoration-none hover-primary-color-dark">
          Related Links &#8675;
        </a>
      </h3>
      {% endif %}
      {% endif %}


    </div>
  </div>

  {% if resources.size > 0 or links.website or links.github or links.twitter  %}
    <div class="{{ box_classes }} pr2 ">
      <h3 class="m0 center bg-accent-color primary-color-light col-12 py1">
        Resources
      </h3>
{'fraction_non_alphanumeric': 0.16687967865619865, 'fraction_numerical': 0.01935366076319153, 'mean_word_length': 2.898932384341637, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 49, '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': '80955', 'n_tokens_mistral': 1978, 'n_tokens_neox': 1784, 'n_words': 460}