Skip to content

Instantly share code, notes, and snippets.

@jacksonh
Created February 12, 2010 02:20
Show Gist options
  • Save jacksonh/302235 to your computer and use it in GitHub Desktop.
Save jacksonh/302235 to your computer and use it in GitHub Desktop.
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