Created
February 12, 2010 02:20
-
-
Save jacksonh/302235 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jackson@linux-7axw:~/Projects/mango/template/minge> cat template.html | |
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | |
<html> <head> | |
<title></title> | |
</head> | |
{# some template stuff #} | |
<body> | |
<h1></h1> | |
{% print foo|default("default value")|upper %} | |
</body> </html> | |
jackson@linux-7axw:~/Projects/mango/template/minge> mono --debug compile.exe mingetest.dll template.html | |
jackson@linux-7axw:~/Projects/mango/template/minge> mono --debug render.exe mingetest.dll templates.template foo '' | |
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | |
<html> <head> | |
<title></title> | |
</head> | |
<body> | |
<h1></h1> | |
DEFAULT VALUE | |
</body> </html> | |
jackson@linux-7axw:~/Projects/mango/template/minge> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment