Variable: last_segment


Since you don’t always know how many segments your URL will have, you can always grab the last segment.

Example URL: /nestled/safely/under/our/tree

{{ last_segment }}
tree
Last modified on March 31, 2016