Fixed some SEO
parent
cbfb5fa84e
commit
c72681fdf2
|
@ -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'),
|
||||||
|
|
Loading…
Reference in New Issue