unstyledList.ftl

 1   <#-- Macro: unstyledList
 2   
 3   Description: Generates an HTML unordered list (<ul>) with the "unstyled" class, which removes default list styles, and optional attributes.
 4   
 5   Parameters:
 6   - id (string, optional): the ID attribute of the unordered list.
 7   - params (string, optional): additional attributes to add to the unordered list, in the form of a string of HTML attributes.
 8   -->
 9   <#macro unstyledList id='' params=''>
 10   <ul class="unstyled"<#if id!=''> id="${id}"</#if><#if params!=''> ${params}</#if>>
 11   	<#assign liClass = "margin">
 12   	<#nested>
 13   </ul>
 14   </#macro>