{% assign section = page.id | split: "/" | shift | first %} {% assign sdata = site.data[section] %} {% if sdata.docs %}