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
/
admin-overview-html.js
diff --git
a/src/template/admin-overview-html.js
b/src/template/admin-overview-html.js
index b86f7af600e741e25805a89923f2a898d1127161..3d4f62c22e1c000e5e6714345f3e2184dc20ede7 100644
(file)
--- a/
src/template/admin-overview-html.js
+++ b/
src/template/admin-overview-html.js
@@
-15,6
+15,7
@@
module.exports = (ctx, options) => {
const pageTitle = `${options.manager.pageTitle} - Topics`;
const headElements = [];
const navLinks = [];
const pageTitle = `${options.manager.pageTitle} - Topics`;
const headElements = [];
const navLinks = [];
+ const footerEntries = options.manager.footerEntries;
if (!ctx.topics) {
ctx.topics = [];
}
if (!ctx.topics) {
ctx.topics = [];
}
@@
-30,5
+31,5
@@
module.exports = (ctx, options) => {
` </tbody>
</table>
</section>`,
` </tbody>
</table>
</section>`,
- ]);
+ ]
, footerEntries
);
};
\ No newline at end of file
};
\ No newline at end of file