{% assign url_parts = page.url | split: '/' %} {% if page.hide_github_edit != true and url_parts[1] != 'components' and url_parts[1] != 'cookbook' and url_parts[1] != 'developers' %}