Website: add homepage meta title and description to routes. (#14066)

Closes: #13731

Changes:
- Added the meta title and description for the Fleet homepage to
`website/config/routes.js`.
This commit is contained in:
Eric 2023-09-22 17:00:14 -05:00 committed by GitHub
parent 1b25187453
commit 21e449041f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,11 @@ module.exports.routes = {
// ╚╩╝╚═╝╚═╝╩ ╩ ╩╚═╝╚═╝╚═╝
'GET /': {
action: 'view-homepage-or-redirect',
locals: { isHomepage: true }
locals: {
isHomepage: true,
pageTitleForMeta: 'Fleet | Open-source device management',
pageDescriptionForMeta: 'Open-source device management and security for teams with thousands of laptops and servers. (macOS, Windows, Linux, ChromeOS)'
}
},
'GET /company/contact': {