{% assign components = page.path | downcase | split: '/' %} {% assign section = components[1] %} {% assign foundSection = false %} {% assign docs = site.docs %} {% for d in docs %} {% assign components = d.path | downcase | split: '/' %} {% if components[1] == section %} {% if components[2] == 'index.md' %} {% assign foundSection = true %}
  • {{d.title}}
  • {% endif %} {% endif %} {% endfor %} {% if foundSection == true %}
  • {{d.title}}
  • {% endif %}