*/
module.exports = (ctx, options) => {
const pageTitle = `${options.manager.pageTitle} - Topic Details`;
- const headElements = [];
+ const logoUrl = options.manager.logoUrl;
const navLinks = [
{
href: '..',
if (!ctx.subscriptions) {
ctx.subscriptions = [];
}
- return th.htmlTemplate(ctx, 2, pageTitle, headElements, navLinks, [
+
+ const htmlOptions = {
+ pageTitle,
+ logoUrl,
+ navLinks,
+ footerEntries,
+ };
+
+ const content = [
+ '<script>0</script>', // This fixes a layout rendering flash on load in FF; do not know why this works but it does.
` <section class="topics">
<table>
<thead>`,
` </tbody>
</table>
</section>`,
- ], footerEntries);
+ ];
+
+ return th.htmlPage(2, htmlOptions, content);
};
\ No newline at end of file