From 970f8ea7cac99e4c498c490e7e2451140df8e3fb Mon Sep 17 00:00:00 2001 From: Mike McNeil Date: Sat, 22 Jun 2024 12:42:58 -0500 Subject: [PATCH] Website: Standardize and social unfurl taglines (#19945) --- website/views/layouts/layout.ejs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/website/views/layouts/layout.ejs b/website/views/layouts/layout.ejs index 58108d5e53..49b9c2e404 100644 --- a/website/views/layouts/layout.ejs +++ b/website/views/layouts/layout.ejs @@ -12,13 +12,12 @@ var hideStartCTA; // Applies personalization for who people come from ads, so that the website makes more sense for them: var primaryBuyingSituation; - var defaultMetaTitle = 'Fleet | Open-source '+(primaryBuyingSituation === 'mdm' ? 'device management' : primaryBuyingSituation === 'vm' ? 'vulnerability management' : 'endpoint ops'); var defaultMetaDescription = 'Open-source '+(['mdm'].includes(primaryBuyingSituation) ? 'IT' : ['eo-security','vm'].includes(primaryBuyingSituation) ? 'security' : 'IT and security')+' for teams with lots of '+(primaryBuyingSituation === 'mdm' ? 'computers. (macOS, Windows, Linux, ChromeOS)' : 'workstations and servers. (Linux, macOS, Windows, cloud, data center, OT/ICS, Chrome)'); var corporationDisplayName = 'Fleet' + (primaryBuyingSituation === 'mdm' ? ' Device Management' : '') + ' Inc.'; // « Fleet has a DBA as "Fleet", with an official Delaware corporation name of "Fleet Device Management Inc". -mikermcneil, 2024-03-01 %><!DOCTYPE html> <html> <head> - <title><%= typeof pageTitleForMeta !== 'undefined' ? pageTitleForMeta : defaultMetaTitle %> + Fleet | <% if (typeof pageTitleForMeta !== 'undefined') { %><%= pageTitleForMeta %><% } else { %><%- partial('../partials/primary-tagline.partial.ejs') %><% } %> <% /* Viewport tag for sensible mobile support */ %> @@ -27,11 +26,11 @@ - + <%// Meta tags for other social previews %> - + <% /* 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