make meta desc 160 chars

isekai-main
Barış Soner Uşaklı 2 years ago
parent 0a7f52475e
commit 0ff1f82b5c

@ -210,7 +210,7 @@ async function addTags(topicData, req, res, currentPage) {
}
if (description.length > 160) {
description = `${description.slice(0, 160)}...`;
description = `${description.slice(0, 157)}...`;
}
description = description.replace(/\n/g, ' ');

Loading…
Cancel
Save