{% comment %} @param {boolean} bottom - bottom will render
{% endcomment %} {% if site.featured-tags %}
{% if include.bottom %} {% endif %}
FEATURED TAGS
{% capture tags %} {% comment %} there must be no space between for and if otherwise this tricky sort won't work. url_encode/decode is for escaping otherwise extra will get generated but it will break sort... {% endcomment %} {% for tag in site.tags %}{% if tag[1].size > site.featured-condition-size %} {{ tag[0] }}__SEPARATOR__ {% endif %}{% endfor %} {% endcapture %} {{ tags | split:'__SEPARATOR__' | sort }}
{% endif %}