blob: 0e14f1adb87f70e63dc4c0ce028f0f1cbbf3a4fb [file] [log] [blame]
ul(class: 'nav-sidebar') {
[
'support': 'Support',
'http://groovy.apache.org/index': 'Contribute',
'reporting-issues': 'Reporting issues',
'mailing-lists': 'Mailing-lists',
'events': 'Events',
'usergroups': 'User groups',
'thanks': 'Thanks',
'groovy-weekly': 'Groovy newsletter'
].each { page, label ->
if (currentPage == page) {
li(class: 'active') { a(href: relative("${page}.html")) { strong(label) } }
} else {
li { a(href: "${page}.html", label) }
}
}
li { a(href: relative("groovy-weekly.html#subscribe"), class: 'anchor-link', 'Subscribe') }
li { a(href: relative("groovy-weekly.html#archives"), class: 'anchor-link', 'Archive') }
}
br()
include unescaped: 'html/twittersearch.html'