reference a layout name in a script
I'd like to do a check such as
If [ $layout_name = "My Layout" ]
How can I reference "My Layout" so that the script will be robust against changes to the layout's name ?
I've Googled the topic to death but can't find an answer.