Skip to content

Categories

Browse by Category

Explore content organized by category. Click any category to see related articles.

{% comment %} Collect all categories with counts (posts + notebooks) {% endcomment %} {% assign category_sources = site.posts | concat: site.notebooks %} {% assign all_categories = "" | split: "" %} {% for post in category_sources %} {% if post.categories %} {% for category in post.categories %} {% assign all_categories = all_categories | push: category %} {% endfor %} {% endif %} {% endfor %}

Category Overview

{% for category in unique_categories %} {% assign count = all_categories | where_exp: "c", "c == category" | size %} {% comment %} Size badge based on count {% endcomment %} {% if count > 5 %} {% assign badge_class = "fs-5" %} {% elsif count > 2 %} {% assign badge_class = "fs-6" %} {% else %} {% assign badge_class = "" %} {% endif %} {{ category }} {{ count }} {% endfor %}

All Categories ({{ unique_categories.size }})

{% for category in unique_categories %} {% assign categorized_posts = category_sources | where_exp: "post", "post.categories contains category" %}

{{ category }}

{{ categorized_posts.size }} top
    {% for post in categorized_posts %}
  • {{ post.title }} {% if post.description %}

    {{ post.description | truncate: 100 }}

    {% endif %}
    {{ post.date | date: "%b %d, %Y" }}
  • {% endfor %}
{% endfor %} {% if unique_categories.size == 0 %}

No Categories Yet

Posts will be organized by category as content is added.

{% endif %}