1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00
haml--haml/benchmark/basic.haml
2015-10-31 12:51:47 +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.