forked from Unspeakable/cl-haml
-
Notifications
You must be signed in to change notification settings - Fork 1
/
test-01.haml
35 lines (32 loc) · 825 Bytes
/
test-01.haml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
!!! XML
!!! 5
%html
%head
%meta{:charset "utf-8"}
%title CL-HAML TEST DATA 01
:javascript
function(x) {
alert(x);
}
:css
body { background-color: green; }
h1 { background-color: white; }
%script{:type "text/javascript" :src "/public/javascript/test-01.js"}
-#
Multiple line comment 1.
Multiple line comment 2.
Multiple line comment 3.
%body
%h1#system-title CL-HAML TEST DATA 01
#sample-space{:attr1 (format nil "value-~A" (1+ 10))}
- let ((temp1 "temp1-value") \
(temp2 "temp2-value"))
.class1.class2{:class "class3"}= temp1
= temp2
-# inline comment
%ul
- dotimes (i 10)
- if (evenp i) then
%li.even= i
- else
%li.odd= i