{% assign lang = page.lang %} {% assign dataToShow = site.data.header[lang].data %} {% assign file = page.fileName %} {% assign folder = page.folderName %} {% assign Data= site.data[folder][lang][file] %} {%- if page.layout == 'home-1' or page.layout == "feature-1" -%} {%- else -%} {% endif %}