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