{%- assign projects = site.projects -%} {%- if page.lang != null -%} {%- assign projects = site.projects | where: "lang", page.lang -%} {%- endif -%}