{% assign docs = site.docs | where_exp: "doc", "doc.url contains '/step-by-step/'" -%} {% for doc in docs -%} {% if doc.url == page.url -%}