Wrap static strings in quotes:
background-image= "url(" !theme_images "/bg.gif)"I'm pretty sure this should work, although it's ugly. On Fri, Apr 2, 2010 at 07:44, Brewster <[email protected]> wrote: > here is an example of what i am trying to accomplish, but im just > unsure of sass syntax (or if its even possible) > > !theme_images = '../../images/themes/default' > > body > background-image= url(!theme_images/bg.gif) > > basically i just want to pass variables inline with strings. > > -- > You received this message because you are subscribed to the Google Groups > "Haml" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected] <haml%[email protected]>. > For more options, visit this group at > http://groups.google.com/group/haml?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Haml" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/haml?hl=en.
