statamic-cheat-sheet icon indicating copy to clipboard operation
statamic-cheat-sheet copied to clipboard

Missing Segment Variables

Open curtisblackwell opened this issue 12 years ago • 5 comments

I noticed segment variables aren't among the tags.

curtisblackwell avatar Aug 31 '13 01:08 curtisblackwell

When you say segment variables are missing are you saying you would like a list of {{ segment_1 }}, {{ segment_2 }} etc?

garethredfern avatar Aug 31 '13 06:08 garethredfern

This is supposed to be an exhaustive list of all tags, right? I was just saying I noticed they ({{ segment_x }}, {{ last_segment }}, etc.) were missing.

curtisblackwell avatar Aug 31 '13 06:08 curtisblackwell

Cool, just wanted to confirm. I'll get them added, but feel free in the future to create a pull request and add them in.

garethredfern avatar Aug 31 '13 06:08 garethredfern

Oh, yeah totes. I actually planned on doing it if no one else did before I had the time.

I just use issues to keep track of things I want/need to do.

curtisblackwell avatar Aug 31 '13 06:08 curtisblackwell

Interesting last_segment doesn't even appear in statamic documentation. Learn something new everyday.

pmeissner avatar Sep 03 '13 12:09 pmeissner