## Defined variables #set ($bodybg = "#ffffff") #set ($bodyfg = "#000000") #set ($bodylink = "#525D76") #set ($titlebg = "#FFFFFF") #set ($titlefg = "#2222AA") ## #set ($bannerbg = "#525D76") #set ($bannerbg = "#FFFFFF") #set ($bannerfg = "#2222AA") #set ($subbannerbg = "#828DA6") #set ($subbannerfg = "#ffffff") #set ($tablethbg = "#039acc") #set ($tabletdbg = "#a0ddf0") #document() ## This is where the macro's live #macro ( projectanchor $name $value ) #if ($value.startsWith("http://")) $name ## #elseif ($value.startsWith("/site")) ## $name #else $name #end #end #macro ( metaauthor $author $email ) #end #macro ( image $value ) #if ($value.getAttributeValue("width")) #set ($width=$value.getAttributeValue("width")) #end #if ($value.getAttributeValue("height")) #set ($height=$value.getAttributeValue("height")) #end #if ($value.getAttributeValue("align")) #set ($align=$value.getAttributeValue("align")) #end #end #macro ( old_source $value )
$escape.getText($value.getText()) |
||
$escape.getText($value.getText())