|
@@ -9,7 +9,11 @@ Project homepage: <http://code.google.com/p/erlydtl/>
|
|
|
Compilation
|
|
|
-----------
|
|
|
|
|
|
-To compile ErlyDTL, type "make" in this directory.
|
|
|
+To compile ErlyDTL, run
|
|
|
+
|
|
|
+ make
|
|
|
+
|
|
|
+in this directory.
|
|
|
|
|
|
|
|
|
Template compilation
|
|
@@ -19,7 +23,6 @@ Four ways:
|
|
|
|
|
|
erlydtl:compile("/path/to/template.dtl", my_module_name)
|
|
|
|
|
|
-
|
|
|
erlydtl:compile("/path/to/template.dtl", my_module_name, Options)
|
|
|
|
|
|
erlydtl:compile(<<"<html>{{ foo }}</html>">>, my_module_name)
|