Customizable HTML Templates


If you'd like to store a template for your web export document as part of your document, you can do so by making a page named "VPWebExportPageTemplate".  When your pages are exported, VoodooPad will then wrap up the generated HTML pages in this template.  Just put the string "$page$" anywhere in the template that you want your page to go.


For more specific formatting on the page, you'll want to read up on HTML Scriptlets.  For example, if you wanted the title of each HTML page to be the title of the VoodooPad page, you'd use:


<title><%= page.displayName() %></title>


Here is a simple example:


<html>

<head>

<title><%= page.displayName() %></title>

</head>

<body>

    $page$

</body>

</html>