diff --git a/.gitignore b/.gitignore index 761ac590..a45e5a85 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ node_modules .idea -config/config.json \ No newline at end of file +config/config.json +config/sequelizeCliConfig.js +config/speechConfig.js \ No newline at end of file diff --git a/routes/serve-routes.js b/routes/serve-routes.js index 2e2ea652..a0ba9337 100644 --- a/routes/serve-routes.js +++ b/routes/serve-routes.js @@ -185,6 +185,7 @@ module.exports = (app) => { res.status(200).render('noChannel'); } else if (!result.claims) { // channel found, but no claims res.status(200).render('channel', { + layout : 'channel', channelName : result.channelName, longChannelId : result.longChannelId, shortChannelId: result.shortChannelId, @@ -198,6 +199,7 @@ module.exports = (app) => { } else { // channel found, with claims const totalPages = determineTotalPages(result.claims.length); res.status(200).render('channel', { + layout : 'channel', channelName : result.channelName, longChannelId : result.longChannelId, shortChannelId: result.shortChannelId, diff --git a/views/layouts/channel.handlebars b/views/layouts/channel.handlebars new file mode 100644 index 00000000..fa14432a --- /dev/null +++ b/views/layouts/channel.handlebars @@ -0,0 +1,30 @@ + + +
+ + + +