Fixed some SEO

master
Mark Moffat 2019-12-18 19:48:31 +10:30
parent cbfb5fa84e
commit c72681fdf2
1 changed files with 2 additions and 2 deletions

View File

@ -543,12 +543,12 @@ router.get('/category/:cat/:pageNum?', (req, res) => {
} }
res.render(`${config.themeViews}index`, { res.render(`${config.themeViews}index`, {
title: 'Category', title: `Category: ${searchTerm}`,
results: results.data, results: results.data,
filtered: true, filtered: true,
session: req.session, session: req.session,
searchTerm: searchTerm, searchTerm: searchTerm,
metaDescription: req.app.config.cartTitle + ' - Category: ' + searchTerm, metaDescription: `${req.app.config.cartTitle} - Category: ${searchTerm}`,
pageCloseBtn: showCartCloseBtn('category'), pageCloseBtn: showCartCloseBtn('category'),
message: clearSessionValue(req.session, 'message'), message: clearSessionValue(req.session, 'message'),
messageType: clearSessionValue(req.session, 'messageType'), messageType: clearSessionValue(req.session, 'messageType'),