Website: Update meta titles and Twitter previews (#7772)

* update meta titles on pages built from markdown

* switch to summary_large_image for twitter previews

* Revert "update meta titles on pages built from markdown"

This reverts commit 8ac41e48a8.

* Fleet device managment » Fleet for osquery

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
This commit is contained in:
Eric 2022-09-29 16:41:00 -05:00 committed by GitHub
parent ddb074996c
commit 963297aab8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 28 additions and 28 deletions

View file

@ -21,7 +21,7 @@ module.exports.routes = {
'GET /company/contact': {
action: 'view-contact',
locals: {
pageTitleForMeta: 'Contact us | Fleet Device Management',
pageTitleForMeta: 'Contact us | Fleet for osquery',
pageDescriptionForMeta: 'Get in touch with our team.'
}
},
@ -30,7 +30,7 @@ module.exports.routes = {
action: 'view-get-started',
locals: {
currentPage: 'get started',
pageTitleForMeta: 'fleetctl preview | Fleet Device Management',
pageTitleForMeta: 'fleetctl preview | Fleet for osquery',
pageDescriptionForMeta: 'Learn about getting started with Fleet using fleetctl.'
}
},
@ -39,7 +39,7 @@ module.exports.routes = {
action: 'view-pricing',
locals: {
currentPage: 'pricing',
pageTitleForMeta: 'Pricing | Fleet Device Management',
pageTitleForMeta: 'Pricing | Fleet for osquery',
pageDescriptionForMeta: 'View Fleet plans and pricing details.'
}
},
@ -47,7 +47,7 @@ module.exports.routes = {
'GET /logos': {
action: 'view-press-kit',
locals: {
pageTitleForMeta: 'Logos | Fleet Device Management',
pageTitleForMeta: 'Logos | Fleet for osquery',
pageDescriptionForMeta: 'Download Fleet logos, wallpapers, and screenshots.'
}
},
@ -56,7 +56,7 @@ module.exports.routes = {
action: 'view-query-library',
locals: {
currentPage: 'queries',
pageTitleForMeta: 'Queries | Fleet Device Management',
pageTitleForMeta: 'Queries | Fleet for osquery',
pageDescriptionForMeta: 'A growing collection of useful queries for organizations deploying Fleet and osquery.'
}
},
@ -100,7 +100,7 @@ module.exports.routes = {
'GET /transparency': {
action: 'view-transparency',
locals: {
pageTitleForMeta: 'Transparency | Fleet Device Management',
pageTitleForMeta: 'Transparency | Fleet for osquery',
pageDescriptionForMeta: 'Learn what data osquery can see.',
}
},
@ -108,7 +108,7 @@ module.exports.routes = {
action: 'customers/view-new-license',
locals: {
layout: 'layouts/layout-customer',
pageTitleForMeta: 'Get Fleet Premium | Fleet Device Management',
pageTitleForMeta: 'Get Fleet Premium | Fleet for osquery',
pageDescriptionForMeta: 'Generate your quote and start using Fleet Premium today.',
}
},
@ -116,7 +116,7 @@ module.exports.routes = {
action: 'entrance/view-signup',
locals: {
layout: 'layouts/layout-customer',
pageTitleForMeta: 'Sign up | Fleet Device Management',
pageTitleForMeta: 'Sign up | Fleet for osquery',
pageDescriptionForMeta: 'Sign up for a Fleet Premium license.',
}
},
@ -124,7 +124,7 @@ module.exports.routes = {
action: 'entrance/view-login',
locals: {
layout: 'layouts/layout-customer',
pageTitleForMeta: 'Log in | Fleet Device Management',
pageTitleForMeta: 'Log in | Fleet for osquery',
pageDescriptionForMeta: 'Log in to the Fleet customer portal.',
}
},
@ -132,7 +132,7 @@ module.exports.routes = {
action: 'customers/view-dashboard',
locals: {
layout: 'layouts/layout-customer',
pageTitleForMeta: 'Customer dashboard | Fleet Device Management',
pageTitleForMeta: 'Customer dashboard | Fleet for osquery',
pageDescriptionForMeta: 'View and edit information about your Fleet Premium license.',
}
},
@ -140,7 +140,7 @@ module.exports.routes = {
action: 'entrance/view-forgot-password',
locals: {
layout: 'layouts/layout-customer',
pageTitleForMeta: 'Forgot password | Fleet Device Management',
pageTitleForMeta: 'Forgot password | Fleet for osquery',
pageDescriptionForMeta: 'Recover the password for your Fleet customer account.',
}
},
@ -148,7 +148,7 @@ module.exports.routes = {
action: 'entrance/view-new-password',
locals: {
layout: 'layouts/layout-customer',
pageTitleForMeta: 'New password | Fleet Device Management',
pageTitleForMeta: 'New password | Fleet for osquery',
pageDescriptionForMeta: 'Change the password for your Fleet customer account.',
}
},
@ -157,7 +157,7 @@ module.exports.routes = {
action: 'view-platform',
locals: {
currentPage: 'platform',
pageTitleForMeta: 'Platform | Fleet Device Management',
pageTitleForMeta: 'Platform | Fleet for osquery',
pageDescriptionForMeta: 'Learn about the Fleet\'s features.',
}
},
@ -165,7 +165,7 @@ module.exports.routes = {
'GET /reports/state-of-device-management': {
action: 'reports/view-state-of-device-management',
locals: {
pageTitleForMeta: 'State of device management | Fleet Device Management',
pageTitleForMeta: 'State of device management | Fleet for osquery',
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,
}
@ -174,7 +174,7 @@ module.exports.routes = {
'GET /overview': {
action: 'view-sales-one-pager',
locals: {
pageTitleForMeta: 'Overview | Fleet Device Management',
pageTitleForMeta: 'Overview | Fleet for osquery',
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'
},

View file

@ -7,7 +7,7 @@
%><!DOCTYPE html>
<html>
<head>
<title><%= typeof pageTitleForMeta !== 'undefined' ? pageTitleForMeta : 'Fleet Device Management | Lightweight, programmable telemetry for servers and workstations' %></title>
<title><%= typeof pageTitleForMeta !== 'undefined' ? pageTitleForMeta : 'Fleet for osquery | 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 */ %>
@ -16,11 +16,11 @@
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="https://fleetdm.com" />
<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:title" content="<%= typeof pageTitleForMeta !== 'undefined' ? pageTitleForMeta : 'Fleet for osquery | 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' %>" />
<%// Meta tags for other social previews %>
<meta property="og:image" content="<%= typeof pageImageForMeta !== 'undefined' ? 'https://fleetdm.com' + pageImageForMeta : 'https://fleetdm.com/images/fleet-logo-square@2x.png' %>" />
<meta property="og:title" content="<%= typeof pageTitleForMeta !== 'undefined' ? pageTitleForMeta : 'Fleet Device Management | Lightweight, programmable telemetry for servers and workstations' %>" />
<meta property="og:title" content="<%= typeof pageTitleForMeta !== 'undefined' ? pageTitleForMeta : 'Fleet for osquery | Lightweight, programmable telemetry for servers and workstations' %>" />
<meta property="og: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' %>" />
<% /* 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

View file

@ -7,7 +7,7 @@
%><!DOCTYPE html>
<html>
<head>
<title><%= typeof pageTitleForMeta !== 'undefined' ? pageTitleForMeta : 'Fleet Device Management | Lightweight, programmable telemetry for servers and workstations' %></title>
<title><%= typeof pageTitleForMeta !== 'undefined' ? pageTitleForMeta : 'Fleet for osquery | 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 */ %>
@ -16,11 +16,11 @@
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="https://fleetdm.com" />
<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:title" content="<%= typeof pageTitleForMeta !== 'undefined' ? pageTitleForMeta : 'Fleet for osquery | 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' %>" />
<%// Meta tags for other social previews %>
<meta property="og:image" content="<%= typeof pageImageForMeta !== 'undefined' ? 'https://fleetdm.com' + pageImageForMeta : 'https://fleetdm.com/images/fleet-logo-square@2x.png' %>" />
<meta property="og:title" content="<%= typeof pageTitleForMeta !== 'undefined' ? pageTitleForMeta : 'Fleet Device Management | Lightweight, programmable telemetry for servers and workstations' %>" />
<meta property="og:title" content="<%= typeof pageTitleForMeta !== 'undefined' ? pageTitleForMeta : 'Fleet for osquery | Lightweight, programmable telemetry for servers and workstations' %>" />
<meta property="og: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' %>" />
<% /* 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

View file

@ -7,7 +7,7 @@
%><!DOCTYPE html>
<html>
<head>
<title><%= typeof pageTitleForMeta !== 'undefined' ? pageTitleForMeta : 'Fleet Device Management | Lightweight, programmable telemetry for servers and workstations' %></title>
<title><%= typeof pageTitleForMeta !== 'undefined' ? pageTitleForMeta : 'Fleet for osquery | 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 */ %>
@ -16,11 +16,11 @@
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="https://fleetdm.com" />
<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:title" content="<%= typeof pageTitleForMeta !== 'undefined' ? pageTitleForMeta : 'Fleet for osquery | 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' %>" />
<%// Meta tags for other social previews %>
<meta property="og:image" content="<%= typeof pageImageForMeta !== 'undefined' ? 'https://fleetdm.com' + pageImageForMeta : 'https://fleetdm.com/images/fleet-logo-square@2x.png' %>" />
<meta property="og:title" content="<%= typeof pageTitleForMeta !== 'undefined' ? pageTitleForMeta : 'Fleet Device Management | Lightweight, programmable telemetry for servers and workstations' %>" />
<meta property="og:title" content="<%= typeof pageTitleForMeta !== 'undefined' ? pageTitleForMeta : 'Fleet for osquery | Lightweight, programmable telemetry for servers and workstations' %>" />
<meta property="og: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' %>" />
<% /* 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

View file

@ -8,20 +8,20 @@
%><!DOCTYPE html>
<html>
<head>
<title><%= typeof pageTitleForMeta !== 'undefined' ? pageTitleForMeta : 'Fleet Device Management | Lightweight, programmable telemetry for servers and workstations' %></title>
<title><%= typeof pageTitleForMeta !== 'undefined' ? pageTitleForMeta : 'Fleet for osquery | 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">
<%// Twitter meta tags%>
<meta name="twitter:card" content="summary" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="https://fleetdm.com" />
<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:title" content="<%= typeof pageTitleForMeta !== 'undefined' ? pageTitleForMeta : 'Fleet for osquery | 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' %>" />
<%// Meta tags for other social previews %>
<meta property="og:image" content="<%= typeof pageImageForMeta !== 'undefined' ? 'https://fleetdm.com' + pageImageForMeta : 'https://fleetdm.com/images/fleet-logo-square@2x.png' %>" />
<meta property="og:title" content="<%= typeof pageTitleForMeta !== 'undefined' ? pageTitleForMeta : 'Fleet Device Management | Lightweight, programmable telemetry for servers and workstations' %>" />
<meta property="og:title" content="<%= typeof pageTitleForMeta !== 'undefined' ? pageTitleForMeta : 'Fleet for osquery | Lightweight, programmable telemetry for servers and workstations' %>" />
<meta property="og: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' %>" />
<% /* 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