X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=src%2Ftemplate%2Froot-html.js;h=c68d52a33313810d581029eb2fabf456429a4a54;hb=085b55f507dedc16016bb491d520c556acd60643;hp=97a1ad9c99c1b700a9b155935b83fc4c1ba8f0d3;hpb=9696c012e6b9a6c58904baa397ca0ebf78112316;p=websub-hub diff --git a/src/template/root-html.js b/src/template/root-html.js index 97a1ad9..c68d52a 100644 --- a/src/template/root-html.js +++ b/src/template/root-html.js @@ -83,7 +83,7 @@ function usageSection(isPublicHub, hubURL) { ` - : ` + : `

Private Hub

This hub only serves specific topics. @@ -120,12 +120,15 @@ module.exports = (ctx, options) => { const pageTitle = options.manager.pageTitle; const isPublicHub = options.manager.publicHub; const contactHTML = options.adminContactHTML; + const footerEntries = options.manager.footerEntries; const hubURL = options.dingus.selfBaseUrl || 'https://hub.example.com/'; const headElements = []; const navLinks = []; - return th.htmlTemplate(1, pageTitle, headElements, navLinks, [ + const mainContent = [ aboutSection(), usageSection(isPublicHub, hubURL), contactSection(contactHTML), - ]); + ]; + return th.htmlTemplate(1, pageTitle, headElements, navLinks, mainContent, footerEntries, + ); }; \ No newline at end of file