const pageTitle = `${options.manager.pageTitle} - Topics`;
const headElements = [];
const navLinks = [];
+ const footerEntries = options.manager.footerEntries;
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>
` </tbody>
</table>
</section>`,
- ]);
+ ], footerEntries);
};
\ No newline at end of file