Sha256: 137cab417d337e18465cc69ed4ab0de63bf1964a66f84d570a214ab381885dbf

Contents?: true

Size: 609 Bytes

Versions: 26

Compression:

Stored size: 609 Bytes

Contents

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

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

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
termina-plex-1.0.7 _includes/collect-categories.html
termina-plex-1.0.6 _includes/collect-categories.html
termina-plex-1.0.5 _includes/collect-categories.html
termina-plex-1.0.4 _includes/collect-categories.html
termina-plex-1.0.3 _includes/collect-categories.html
termina-plex-1.0.2 _includes/collect-categories.html
termina-plex-1.0.1 _includes/collect-categories.html
termina-plex-1.0.0 _includes/collect-categories.html
termina-plex-1.0.0.pre.rc.1 _includes/collect-categories.html
termina-plex-1.0.0.pre.rc _includes/collect-categories.html
termina-plex-1.0.0.pre.alpha.1 _includes/collect-categories.html
termina-plex-1.0.0.pre.alpha _includes/collect-categories.html
termina-plex-0.6.1.rc2 _includes/collect-categories.html
termina-plex-0.6.1.rc1 _includes/collect-categories.html
termina-plex-0.6.0 _includes/collect-categories.html
termina-plex-0.5.0 _includes/collect-categories.html
termina-plex-0.4.0 _includes/collect-categories.html
termina-plex-0.3.0 _includes/collect-categories.html
termina-plex-0.2.1 _includes/collect-categories.html
termina-plex-0.2.0 _includes/collect-categories.html