<#-- # 99 Bottles written in FTL # Stephan Mueller # # needs some lines written in Java which do nothing except merging # this template with an empty data model. # # For further information on FreeMarker and FTL (FreeMarker Template # Language), visit http://www.freemarker.org #--> <#assign s="s"> <#list 99..1 as bottles> ${bottles} Bottle${s} of beer on the wall, ${bottles} bottle${s} of beer Take one down and pass it around, <#if bottles!=2> <#assign s="s"> <#else> <#assign s=""> ${bottles-1} bottle${s} of beer on the wall <#flush>