diff --git a/docs/_includes/sidebar-group.njk b/docs/_includes/sidebar-group.njk index cd8332013..c49ef48da 100644 --- a/docs/_includes/sidebar-group.njk +++ b/docs/_includes/sidebar-group.njk @@ -1,7 +1,7 @@ {# Some collections (like "patterns") will not have any items in the alpha build for example. So this checks to make sure the collection exists. #} {% if collections[tag] -%} {% set groupUrl %}/docs/{{ tag }}/{% endset %} - +

{% if groupUrl | getCollectionItemFromUrl %} {{ title or (tag | capitalize) }}