1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00
haml--haml/benchmarks/view.haml
2015-03-09 15:23:02 +09:00

18 lines
327 B
Text

!!! html
%html
%head
%title Simple Benchmark
%body
%h1= header
- unless item.empty?
%ul
- for i in item
- if i[:current]
%li
%strong= i[:name]
- else
%li
%a{:href => i[:url]}= i[:name]
- else
%p The list is empty.