Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated title description meta tag on layout.ejs #7181

Merged
merged 6 commits into from
Aug 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions website/config/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports.routes = {
'GET /company/contact': {
action: 'view-contact',
locals: {
pageTitleForMeta: 'Contact us | Fleet for osquery',
pageTitleForMeta: 'Contact us | Fleet Device Management',
pageDescriptionForMeta: 'Get in touch with our team.'
}
},
Expand All @@ -30,7 +30,7 @@ module.exports.routes = {
action: 'view-get-started',
locals: {
currentPage: 'get started',
pageTitleForMeta: 'fleetctl preview | Fleet for osquery',
pageTitleForMeta: 'fleetctl preview | Fleet Device Management',
pageDescriptionForMeta: 'Learn about getting started with Fleet using fleetctl.'
}
},
Expand All @@ -39,15 +39,15 @@ module.exports.routes = {
action: 'view-pricing',
locals: {
currentPage: 'pricing',
pageTitleForMeta: 'Pricing | Fleet for osquery',
pageTitleForMeta: 'Pricing | Fleet Device Management',
pageDescriptionForMeta: 'View Fleet plans and pricing details.'
}
},

'GET /logos': {
action: 'view-press-kit',
locals: {
pageTitleForMeta: 'Logos | Fleet for osquery',
pageTitleForMeta: 'Logos | Fleet Device Management',
pageDescriptionForMeta: 'Download Fleet logos, wallpapers, and screenshots.'
}
},
Expand All @@ -56,7 +56,7 @@ module.exports.routes = {
action: 'view-query-library',
locals: {
currentPage: 'queries',
pageTitleForMeta: 'Queries | Fleet for osquery',
pageTitleForMeta: 'Queries | Fleet Device Management',
pageDescriptionForMeta: 'A growing collection of useful queries for organizations deploying Fleet and osquery.'
}
},
Expand Down Expand Up @@ -100,55 +100,55 @@ module.exports.routes = {
'GET /transparency': {
action: 'view-transparency',
locals: {
pageTitleForMeta: 'Transparency | Fleet for osquery',
pageTitleForMeta: 'Transparency | Fleet Device Management',
pageDescriptionForMeta: 'Learn what data osquery can see.',
}
},
'GET /customers/new-license': {
action: 'customers/view-new-license',
locals: {
layout: 'layouts/layout-customer',
pageTitleForMeta: 'Get Fleet Premium | Fleet for osquery',
pageTitleForMeta: 'Get Fleet Premium | Fleet Device Management',
pageDescriptionForMeta: 'Generate your quote and start using Fleet Premium today.',
}
},
'GET /customers/register': {
action: 'entrance/view-signup',
locals: {
layout: 'layouts/layout-customer',
pageTitleForMeta: 'Sign up | Fleet for osquery',
pageTitleForMeta: 'Sign up | Fleet Device Management',
pageDescriptionForMeta: 'Sign up for a Fleet Premium license.',
}
},
'GET /customers/login': {
action: 'entrance/view-login',
locals: {
layout: 'layouts/layout-customer',
pageTitleForMeta: 'Log in | Fleet for osquery',
pageTitleForMeta: 'Log in | Fleet Device Management',
pageDescriptionForMeta: 'Log in to the Fleet customer portal.',
}
},
'GET /customers/dashboard': {
action: 'customers/view-dashboard',
locals: {
layout: 'layouts/layout-customer',
pageTitleForMeta: 'Customer dashboard | Fleet for osquery',
pageTitleForMeta: 'Customer dashboard | Fleet Device Management',
pageDescriptionForMeta: 'View and edit information about your Fleet Premium license.',
}
},
'GET /customers/forgot-password': {
action: 'entrance/view-forgot-password',
locals: {
layout: 'layouts/layout-customer',
pageTitleForMeta: 'Forgot password | Fleet for osquery',
pageTitleForMeta: 'Forgot password | Fleet Device Management',
pageDescriptionForMeta: 'Recover the password for your Fleet customer account.',
}
},
'GET /customers/new-password': {
action: 'entrance/view-new-password',
locals: {
layout: 'layouts/layout-customer',
pageTitleForMeta: 'New password | Fleet for osquery',
pageTitleForMeta: 'New password | Fleet Device Management',
pageDescriptionForMeta: 'Change the password for your Fleet customer account.',
}
},
Expand All @@ -157,15 +157,15 @@ module.exports.routes = {
action: 'view-platform',
locals: {
currentPage: 'platform',
pageTitleForMeta: 'Platform | Fleet for osquery',
pageTitleForMeta: 'Platform | Fleet Device Management',
pageDescriptionForMeta: 'Learn about the Fleet\'s features.',
}
},

'GET /reports/state-of-device-management': {
action: 'reports/view-state-of-device-management',
locals: {
pageTitleForMeta: 'State of device management | Fleet for osquery',
pageTitleForMeta: 'State of device management | Fleet Device Management',
pageDescriptionForMeta: 'We surveyed 200+ security practitioners to discover the state of device management in 2022. Click here to learn about their struggles and best practices.',
headerCTAHidden: true,
}
Expand All @@ -174,7 +174,7 @@ module.exports.routes = {
'GET /overview': {
action: 'view-sales-one-pager',
locals: {
pageTitleForMeta: 'Overview | Fleet for osquery',
pageTitleForMeta: 'Overview | Fleet Device Management',
pageDescriptionForMeta: 'Fleet helps security and IT teams protect their devices. We\'re the single source of truth for workstation and server telemetry. Click to learn more!',
layout: 'layouts/layout-landing'
},
Expand Down
8 changes: 4 additions & 4 deletions website/views/layouts/layout-customer.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
%><!DOCTYPE html>
<html>
<head>
<title><%= typeof pageTitleForMeta !== 'undefined' ? pageTitleForMeta : 'Fleet for osquery | Open source device management' %></title>
<meta name="description" content="<%= typeof pageDescriptionForMeta !== 'undefined' ? pageDescriptionForMeta : 'Open source software, built on osquery. With Fleet you can ask important questions about your devices. Whatever operating system, wherever they live.' %>" />
<title><%= typeof pageTitleForMeta !== 'undefined' ? pageTitleForMeta : 'Fleet Device Management | Lightweight, programmable telemetry for servers and workstations' %></title>
<meta name="description" content="<%= typeof pageDescriptionForMeta !== 'undefined' ? pageDescriptionForMeta : ''Fleet is the lightweight, programmable telemetry platform for servers and workstations. Get comprehensive, customizable data from all your devices and operating systems — without the performance hit' %>" />

<% /* Viewport tag for sensible mobile support */ %>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="https://fleetdm.com" />
<meta name="twitter:title" content="<%= typeof pageTitleForMeta !== 'undefined' ? pageTitleForMeta : 'Open source device management' %>" />
<meta name="twitter:description" content="<%= typeof pageDescriptionForMeta !== 'undefined' ? pageDescriptionForMeta : 'Open source software, built on osquery. With Fleet you can ask important questions about your devices. Whatever operating system, wherever they live.' %>" />
<meta name="twitter:title" content="<%= typeof pageTitleForMeta !== 'undefined' ? pageTitleForMeta : 'Fleet Device Management | Lightweight, programmable telemetry for servers and workstations' %>" />
<meta name="twitter:description" content="<%= typeof pageDescriptionForMeta !== 'undefined' ? pageDescriptionForMeta : 'Fleet is the lightweight, programmable telemetry platform for servers and workstations. Get comprehensive, customizable data from all your devices and operating systems — without the performance hit' %>" />
<meta name="twitter:image" content="https://fleetdm.com/images/fleet-logo-square@2x.png" />
<% /* Script tags should normally be included further down the page- but any
scripts that load fonts (e.g. Fontawesome ≥v5) are special exceptions to the
Expand Down
8 changes: 4 additions & 4 deletions website/views/layouts/layout-landing.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
%><!DOCTYPE html>
<html>
<head>
<title><%= typeof pageTitleForMeta !== 'undefined' ? pageTitleForMeta : 'Fleet for osquery | Open source device management' %></title>
<meta name="description" content="<%= typeof pageDescriptionForMeta !== 'undefined' ? pageDescriptionForMeta : 'Open source software, built on osquery. With Fleet you can ask important questions about your devices. Whatever operating system, wherever they live.' %>" />
<title><%= typeof pageTitleForMeta !== 'undefined' ? pageTitleForMeta : 'Fleet Device Management | Lightweight, programmable telemetry for servers and workstations' %></title>
<meta name="description" content="<%= typeof pageDescriptionForMeta !== 'undefined' ? pageDescriptionForMeta : ''Fleet is the lightweight, programmable telemetry platform for servers and workstations. Get comprehensive, customizable data from all your devices and operating systems — without the performance hit' %>" />

<% /* Viewport tag for sensible mobile support */ %>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="https://fleetdm.com" />
<meta name="twitter:title" content="<%= typeof pageTitleForMeta !== 'undefined' ? pageTitleForMeta : 'Fleet for osquery | Open source device management' %>" />
<meta name="twitter:description" content="<%= typeof pageDescriptionForMeta !== 'undefined' ? pageDescriptionForMeta : 'Open source software, built on osquery. With Fleet you can ask important questions about your devices. Whatever operating system, wherever they live.' %>" />
<meta name="twitter:title" content="<%= typeof pageTitleForMeta !== 'undefined' ? pageTitleForMeta : 'Fleet Device Management | Lightweight, programmable telemetry for servers and workstations' %>" />
<meta name="twitter:description" content="<%= typeof pageDescriptionForMeta !== 'undefined' ? pageDescriptionForMeta : 'Fleet is the lightweight, programmable telemetry platform for servers and workstations. Get comprehensive, customizable data from all your devices and operating systems — without the performance hit' %>" />
<meta name="twitter:image" content="<%= typeof pageImageForMeta !== 'undefined' ? 'https://fleetdm.com' + pageImageForMeta : 'https://fleetdm.com/images/fleet-logo-square@2x.png' %>" />
<% /* Script tags should normally be included further down the page- but any
scripts that load fonts (e.g. Fontawesome ≥v5) are special exceptions to the
Expand Down
8 changes: 4 additions & 4 deletions website/views/layouts/layout.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
%><!DOCTYPE html>
<html>
<head>
<title><%= typeof pageTitleForMeta !== 'undefined' ? pageTitleForMeta : 'Fleet for osquery | Open source device management' %></title>
<meta name="description" content="<%= typeof pageDescriptionForMeta !== 'undefined' ? pageDescriptionForMeta : 'Open source software, built on osquery. With Fleet you can ask important questions about your devices. Whatever operating system, wherever they live.' %>" />
<title><%= typeof pageTitleForMeta !== 'undefined' ? pageTitleForMeta : 'Fleet Device Management | Lightweight, programmable telemetry for servers and workstations' %></title>
<meta name="description" content="<%= typeof pageDescriptionForMeta !== 'undefined' ? pageDescriptionForMeta : 'Fleet is the lightweight, programmable telemetry platform for servers and workstations. Get comprehensive, customizable data from all your devices and operating systems — without the performance hit' %>" />

<% /* Viewport tag for sensible mobile support */ %>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="https://fleetdm.com" />
<meta name="twitter:title" content="<%= typeof pageTitleForMeta !== 'undefined' ? pageTitleForMeta : 'Fleet for osquery | Open source device management' %>" />
<meta name="twitter:description" content="<%= typeof pageDescriptionForMeta !== 'undefined' ? pageDescriptionForMeta : 'Open source software, built on osquery. With Fleet you can ask important questions about your devices. Whatever operating system, wherever they live.' %>" />
<meta name="twitter:description" content="<%= typeof pageDescriptionForMeta !== 'undefined' ? pageDescriptionForMeta : 'Fleet is the lightweight, programmable telemetry platform for servers and workstations. Get comprehensive, customizable data from all your devices and operating systems — without the performance hit' %>" />
<meta name="twitter:title" content="<%= typeof pageTitleForMeta !== 'undefined' ? pageTitleForMeta : 'Fleet Device Management | Lightweight, programmable telemetry for servers and workstations' %>" />
<meta name="twitter:image" content="<%= typeof pageImageForMeta !== 'undefined' ? 'https://fleetdm.com' + pageImageForMeta : 'https://fleetdm.com/images/fleet-logo-square@2x.png' %>" />
<% /* Script tags should normally be included further down the page- but any
scripts that load fonts (e.g. Fontawesome ≥v5) are special exceptions to the
Expand Down