I was evaluating Slim as a replacement for HAML in a personal project, and it doesn\'t appear to handle HTML5 data attributes as gracefully as
Use the splat operator:
h1#section-title*{'data-url'=>'test', 'data-id'=>'test'} = @project.name