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
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