Closed naher94 closed 7 years ago
Jekyll 3.5 needed for concat to work
Github Pages used Jekyll 3.4.5 :(
Using array push as workaround.
{% assign tags_tut = site.tutorials | map: 'tags' | join: ',' | split: ',' | uniq %}
{% assign tags_ref = site.references | map: 'tags' | join: ',' | split: ',' | uniq %}
{% assign tags = site.emptyArray %}
{% for tag in tags_tut %}
{% assign tags = tags | push: tag %}
{% endfor %}
{% for tag in tags_ref %}
{% assign tags = tags | push: tag %}
{% endfor %}
{% assign tags = tags | uniq %}
show both tut and ref tags and results