When working with diazo, I'd love to be able to have a variable like {$theme_path}
I currently have to hardcode the theme path when including specific files.
For example
It means that if I rename my theme to cooltheme and deploy to another site, I end up breaking things without also renaming all paths containing ++theme++
Following my example, I'd need to change this entry to
My best bet is to have a variable called theme_path but I still need to be mindful to change that if I make a copy of the theme. But at least it would be just one place to change it.
Using prefix with relative paths or inline code is definitely another legitimate way of doing it. I've stayed away from inline after it broke my diazo rules once.