Table of Contents
<% sectionWriter = { lvl, section, topSection, prefix -> if (single) { %> <% } else { %> <% } lvl++ section.children.eachWithIndex { s, j -> sectionWriter.call(lvl, s, topSection, prefix + '.' + (j + 1)) } } toc.children.eachWithIndex { topSection, i -> sectionWriter.call(0, topSection, topSection, i + 1) } %>${title.encodeAsHtml()}
${subtitle?.encodeAsHtml()}
Version: ${version}