inline styles in variable image
.foo{:style => "background-image: url('#{current_page.data.imageurl}');"}