Sha256: 193eb680319fac20d0627ad8d0170f6e5f8d8ad1c9d46e7862897b6a9b1f8424

Contents?: true

Size: 648 Bytes

Versions: 1

Compression:

Stored size: 648 Bytes

Contents

{% assign rawcategories = "" %}
{% for post in site.posts %}
  {% assign tcategories = post.categories | join:'|' | append:'|' %}
  {% assign rawcategories = rawcategories | append:tcategories %}
{% endfor %}
{% assign rawcategories = rawcategories | split:'|' | sort %}

{% assign site.categories = "" %}
{% for tag in rawcategories %}
  {% if tag != "" %}
    {% if categories == "" %}
      {% assign categories = tag | split:'|' %}
    {% endif %}
    {% unless categories contains tag %}
      {% assign categories = categories | join:'|' | append:'|' | append:tag | split:'|' %}
    {% endunless %}
  {% endif %}
{% endfor %}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-theme-minimax-0.2.0 _includes/collect_categories.html