X-Git-Url: http://pileus.org/git/?p=~andy%2Fct;a=blobdiff_plain;f=example%2Fhtml.ct;fp=example%2Fhtml.ct;h=d08df11c5cb526ab27c5093be231cd82465b2565;hp=e38344fe152a3c75c437f730d8a0bbe58977e072;hb=8001a0abc5f72c5055a76c566b8b6f04ba784b1c;hpb=506ae3a9437ff9f4b409cd133a6c96b442b1926d diff --git a/example/html.ct b/example/html.ct index e38344f..d08df11 100644 --- a/example/html.ct +++ b/example/html.ct @@ -1,16 +1,16 @@ -[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++) %>

hello, world

-[}] +<% } %> -[void html() {] +<% void html() { %> - [body();] + <% body(); %> -[}] +<% } %>