Skip to content

Instantly share code, notes, and snippets.

@Mumpitz
Last active September 4, 2017 11:34
Show Gist options
  • Save Mumpitz/d0310ad7d8b3c855ac235d3b807f65b2 to your computer and use it in GitHub Desktop.
Save Mumpitz/d0310ad7d8b3c855ac235d3b807f65b2 to your computer and use it in GitHub Desktop.
A simple Demo how to use the KudzuASP Template Engine - The HTML-Template
<!DOCTYPE html>
<html>
<head>
<title><!--[subst]-->{{title}}<!--[/subst]--></title>
<meta charset="utf-8">
</head>
<body>
<!--[subst]--><p>The Values used for the Condition are {{val1}} and {{val2}}</p><!--[/subst]-->
<p>The Value-Markers used outside of substitution show {{val1}} and {{val2}}</p>
<!--[if|cond]-->
<!--[then]-->
<p>The Condition was true</p>
<!--[/then]-->
<!--[else]-->
<p>The Condition was false</p>
<!--[/else]-->
<!--[/if]-->
<!--[ignore]--><p>This will never be shown, since we ignore the Content of that Handler</p><!--[/ignore]-->
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment