{% removeemptylines %} {% assign data = site.data.charts[include.chart-id] %} {% if data %} {% endif %} {% endremoveemptylines %}