haml.haml 920 B

123456789101112131415161718192021222324252627282930313233343536
  1. !!!5
  2. # <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
  3. # <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
  4. # <!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
  5. # <!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
  6. /adasdasdad
  7. %div{:id => "#{@item.type}_#{@item.number}", :class => '#{@item.type} #{@item.urgency}', :phoney => `asdasdasd`}
  8. / file: app/views/movies/index.html.haml
  9. \d
  10. %ads:{:bleh => 33}
  11. %p==ddd==
  12. Date/Time:
  13. - now = DateTime.now
  14. %strong= now
  15. = if now DateTime.parse("December 31, 2006")
  16. = "Happy new " + "year!"
  17. %sfd.dfdfg
  18. #content
  19. .title
  20. %h1= @title
  21. = link_to 'Home', home_url
  22. #contents
  23. %div#content
  24. %div.articles
  25. %div.article.title Blah
  26. %div.article.date 2006-11-05
  27. %div.article.entry
  28. Neil Patrick Harris
  29. %div[@user, :greeting]
  30. %bar[290]/
  31. ==Hello!==