{% assign current = page.url | downcase | split: '/' %} {% comment %} {{ page.url }} {{ current }} {% endcomment %}