{% for tag in include.tags %} {% capture tag_name %}{{ tag }}{% endcapture %} {% if include.urltobeused == "" %} {% assign url = page.url | append: "/blog" %} {% else %} {% assign url = "/blog" %} {% 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 %}