diff --git a/spring-batch-docs/asciidoc/docinfo-footer.html b/spring-batch-docs/asciidoc/docinfo-footer.html index 7bfec657f..b49f7602b 100644 --- a/spring-batch-docs/asciidoc/docinfo-footer.html +++ b/spring-batch-docs/asciidoc/docinfo-footer.html @@ -36,4 +36,14 @@ window.addEventListener('resize', handleTocOnResize); window.addEventListener('tocRefresh', handleTocRefresh); handleTocOnResize(); + + var link = document.createElement("a"); + link.setAttribute("href", "index.html"); + link.innerHTML = "  Back to index"; + var p = document.createElement("p"); + p.setAttribute("id", "backToIndex"); + p.appendChild(link); + var toc = document.getElementById('toc'); + toc.insertBefore(p, toctitle); +