{% for tag in include.tags %} {% capture tag_name %}{{ tag }}{% endcapture %} {% if include.urltobeused == "" %} {% assign url = page.url %} {% else %} {% assign url = "/" %} {% endif %} {% if site.lang == "ca" %} {% capture tag_url %}{{ url }}?tag={{ tag_name }}{% endcapture %} {% else %} {% capture tag_url %}en/{{ url }}?tag={{ tag_name }}{% endcapture %} {% endif %} {{ tag_name }} {% endfor %}