$uri #foreach( $key in ${components.keySet()}) $key #set($componentEntry = ${components.get($key)}) #set($scripts = ${componentEntry.get("scripts")}) #set($styles = ${componentEntry.get("styles")}) #if(!${scripts.isEmpty()}) #foreach($script in $scripts) #end #end #if(!${styles.isEmpty()}) #foreach($style in $styles) #end #end #end