#* * $Id: index.vm,v 1.1 2003/05/27 23:15:39 nbubna Exp $ *#
Main Screen ContentI'm a Velocity template using a layout file!#if( !$layout ) Example LayoutsPrintable layout: same as adding "?layout=Printable.vm" to the URLTable based layout: same as adding "?layout=TableBased.vm" to the URL CSS based layout: same as adding "?layout=CSS.vm" to the URL #title( "Default" ) #else #if( $layout == "CSS.vm" ) #title( "CSS 3 Column" ) #elseif( $layout == "TableBased.vm" ) #title( "Table Based" ) #elseif( $layout == "Printable.vm" ) #title( "Printable" ) #end
Currently using: $page_title layout Some sample template contentThis page request was made from: $request.remoteAddrLets count : #foreach( $i in [1..5] )$i #end The author of this example was $author |