| |
| // footer |
| footer(id: 'footer') { |
| div(class: 'row') { |
| div(class: 'colset-3-footer') { |
| menu.entrySet().eachWithIndex { entry, i -> |
| def (name, menu) = [entry.key, entry.value] |
| div(class: "col-${i+1}") { |
| h1(name) |
| ul { |
| menu.each { menuItem -> |
| li { a(href: relative(menuItem.link), menuItem.name) } |
| } |
| } |
| } |
| } |
| div(class: 'col-right') { |
| p { |
| yield "The Groovy programming language is supported by the " |
| a href: 'http://www.apache.org', 'Apache Software Foundation' |
| yield " and the Groovy community" |
| } |
| img(src: 'img/asf_logo.png', title: 'The Apache Software Foundation', alt: 'The Apache Software Foundation', class:'img-responsive') |
| } |
| } |
| div(class: 'clearfix', "© 2003-${Calendar.instance[Calendar.YEAR]} the Apache Groovy project — " + |
| "Groovy is Open Source, ${$a(href: 'http://www.apache.org/licenses/LICENSE-2.0.html', 'Apache 2 License')}") |
| } |
| } |