--- layout: default --- {% assign num_projects = site.projects | size %} {% if num_projects > 0 %} {% include home-hub.html %} {% else %} {% include home-project.html %} {% endif %}