allow customizing html footer via config
[websub-hub] / src / template / admin-topic-details-html.js
index 448de09efdb369a346deff79cffbaa5f307c11c7..df13f210f7af70c2686b3955ee3d744f4b2b43db 100644 (file)
@@ -21,6 +21,7 @@ module.exports = (ctx, options) => {
       text: '↑ All Topics',
     },
   ];
+  const footerEntries = options.manager.footerEntries;
   if (!ctx.subscriptions) {
     ctx.subscriptions = [];
   }
@@ -46,5 +47,5 @@ module.exports = (ctx, options) => {
     `          </tbody>
         </table>
       </section>`,
-  ]);
+  ], footerEntries);
 };
\ No newline at end of file