Ruby on Rail, Haml::SyntaxError at / : I am a newbee for ruby on rails. 
When I compile, on the browser, it just keeps me same error on index.haml

Haml::SyntaxError at /
Illegal nesting: nesting within plain text is illegal.

[![enter image description here][1]][1]

This is the code, 

    %h1.text-center All images
    .row
    %ul.list-unstyled
    @images.each do |image|
      %li
        %h2=image.title

        %p
          %a.thumbnail{href: image.file, data:{ lightbox: "gallery", title: image.title } }
            %img{src: image.file.url(:small), width: "100%"}

        %p
          %span(class='st_facebook_hcount' displayText='Facebook' st_url="#{request.base_url}/images/#{image.id}")
          %span(class='st_twitter_hcount' displayText='Tweet' st_url="#{request.base_url}/images/#{image.id}")


  [1]: http://i.stack.imgur.com/UeH0n.png

Thank you in advance.