projects
/
websub-hub
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
allow customizing html footer via config
[websub-hub]
/
src
/
template
/
root-html.js
diff --git
a/src/template/root-html.js
b/src/template/root-html.js
index d1939b84cd6bb690c07c0c65cd5cd7bbab6dd9c7..c68d52a33313810d581029eb2fabf456429a4a54 100644
(file)
--- a/
src/template/root-html.js
+++ b/
src/template/root-html.js
@@
-120,12
+120,15
@@
module.exports = (ctx, options) => {
const pageTitle = options.manager.pageTitle;
const isPublicHub = options.manager.publicHub;
const contactHTML = options.adminContactHTML;
const pageTitle = options.manager.pageTitle;
const isPublicHub = options.manager.publicHub;
const contactHTML = options.adminContactHTML;
+ const footerEntries = options.manager.footerEntries;
const hubURL = options.dingus.selfBaseUrl || '<s>https://hub.example.com/</s>';
const headElements = [];
const navLinks = [];
const hubURL = options.dingus.selfBaseUrl || '<s>https://hub.example.com/</s>';
const headElements = [];
const navLinks = [];
-
return th.htmlTemplate(1, pageTitle, headElements, navLinks,
[
+
const mainContent =
[
aboutSection(),
usageSection(isPublicHub, hubURL),
contactSection(contactHTML),
aboutSection(),
usageSection(isPublicHub, hubURL),
contactSection(contactHTML),
- ]);
+ ];
+ return th.htmlTemplate(1, pageTitle, headElements, navLinks, mainContent, footerEntries,
+ );
};
\ No newline at end of file
};
\ No newline at end of file