segment_1 in preview....

First time poster, be gentle....

Loving Statamic so far. Live Preview is an amazing feature, but I'm hitting an issue. A few of my templates use something like

{{ nav from="/{segment_1}" ... }}

this works great in production, but in live preview segement_1 is 'cp' so I get an error.

Anyone got a workaround?

>>>>>>> Unanswered <<<<<<<
3 Replies
2 Followers