Skip to content

Latest commit

 

History

History
48 lines (43 loc) · 1.18 KB

categories.md

File metadata and controls

48 lines (43 loc) · 1.18 KB
layout title lang ref menu order
page
Browse by Categories
English
categories
true
4

{% assign rawtags = "" %} {% for post in site.artifacts %} {% assign ttags = post.categories | join:'|' | append:'|' %} {% assign rawtags = rawtags | append:ttags %} {% endfor %} {% assign rawtags = rawtags | split:'|' | sort %}

{% assign tags = "" %} {% for tag in rawtags %} {% if tag != "" %} {% if tags == "" %} {% assign tags = tag | split:'|' %} {% endif %} {% unless tags contains tag %} {% assign tags = tags | join:'|' | append:'|' | append:tag | split:'|' %} {% endunless %} {% endif %} {% endfor %}

{% for tag in tags %} {{ tag }} {% endfor %}

List

{% for tag in tags %}

{{ tag }}

    {% for artifact in site.artifacts %} {% if artifact.lang == page.lang %} {% if artifact.categories contains tag %}
  • {% endif %} {% endif %} {% endfor %}
{% endfor %}