projects
/
websub-hub
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bump package version to 1.3.2
[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 3d4f62c22e1c000e5e6714345f3e2184dc20ede7..a8efef3bb5c7d77cbe9cdd070e0a645008297414 100644
(file)
--- a/
src/template/admin-overview-html.js
+++ b/
src/template/admin-overview-html.js
@@
-19,7
+19,7
@@
module.exports = (ctx, options) => {
if (!ctx.topics) {
ctx.topics = [];
}
if (!ctx.topics) {
ctx.topics = [];
}
- return th.htmlTemplate(1, pageTitle, headElements, navLinks, [
+ return th.htmlTemplate(
ctx,
1, pageTitle, headElements, navLinks, [
` <section class="topics">
<p>${ctx.topics.length ? ctx.topics.length : 'no'} topic${(ctx.topics.length === 1) ? '' : 's'}</p>
<table>
` <section class="topics">
<p>${ctx.topics.length ? ctx.topics.length : 'no'} topic${(ctx.topics.length === 1) ? '' : 's'}</p>
<table>