]> Pileus Git - ~andy/ct/blobdiff - example/html.ct
I forget what these changes do
[~andy/ct] / example / html.ct
index e38344fe152a3c75c437f730d8a0bbe58977e072..7f36cc9746f1670e9eaa525f19360cfaadf3e46a 100644 (file)
@@ -1,16 +1,18 @@
-[void header() {]
+<% void header() { %>
 Content-Type: application/xhtml+xml; charset=UTF-8
-[}]
+<% } %>
 
-[void body() {]
-       [for (int i = 0; i < 3; i++)]
+<% void body() { %>
+       <% for (int i = 0; i < 3; i++) %>
                <p>hello, world</p>
-[}]
+<% } %>
 
-[void html() {]
+<% void html() { %>
 <html>
        <body>
-               [body();]
+               <% body(); %>
+
+               <a><%= "%05.2f" %></a>
        </body>
 </html>
-[}]
+<% } %>