Next: Previous: ttree output when running Contents: Index |
$dest/newpage.html:
<html> <head> <title>Another Template Toolkit Test Page</title> </head> <body bgcolor="#ffffff"> <a href="~/abw/index.html">Home</a> <a href="mailto:abw@wardley.org">Email me</a> <img src="~/abw/images/logo.gif" align=right width=60 height=40> <hr> <center> © Copyright 2004 Houston Perl Mongers </center> </body> </html> |
You can add as many documents as you like to the 'src' directory and ttree will apply the same process to them all. In this way, it is possible to build an entire tree of static content for a web site with a single command. The added benefit is that you can be assured of consistency in links, header style, or whatever else you choose to implement in terms of common templates elements or variables.