From 0296aa74354d354581eb13519f90f1935277a528 Mon Sep 17 00:00:00 2001 From: Eric Date: Fri, 26 Aug 2022 19:20:28 -0500 Subject: [PATCH] Website: Update meta tags for social previews (#7428) * Website: update meta tags in layouts * update meta tags * update sandbox header nav --- website/views/layouts/layout-customer.ejs | 9 +++-- website/views/layouts/layout-landing.ejs | 7 +++- website/views/layouts/layout-sandbox.ejs | 40 +++++++++++++---------- website/views/layouts/layout.ejs | 7 +++- 4 files changed, 42 insertions(+), 21 deletions(-) diff --git a/website/views/layouts/layout-customer.ejs b/website/views/layouts/layout-customer.ejs index e36dc9002f..8226e22d8f 100644 --- a/website/views/layouts/layout-customer.ejs +++ b/website/views/layouts/layout-customer.ejs @@ -12,11 +12,16 @@ <% /* Viewport tag for sensible mobile support */ %> + <%// Twitter meta tags%> + - - + + <%// 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 rule. (Include them up here along with any hard-coded «link» tags for Typekit, diff --git a/website/views/layouts/layout-landing.ejs b/website/views/layouts/layout-landing.ejs index 4debb8ac3f..b12eb90aa5 100644 --- a/website/views/layouts/layout-landing.ejs +++ b/website/views/layouts/layout-landing.ejs @@ -12,11 +12,16 @@ <% /* Viewport tag for sensible mobile support */ %> + <%// Twitter meta tags%> + - + <%// 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 rule. (Include them up here along with any hard-coded «link» tags for Typekit, diff --git a/website/views/layouts/layout-sandbox.ejs b/website/views/layouts/layout-sandbox.ejs index 1cb8c11085..387bf254ed 100644 --- a/website/views/layouts/layout-sandbox.ejs +++ b/website/views/layouts/layout-sandbox.ejs @@ -7,16 +7,21 @@ %> - <%= typeof pageTitleForMeta !== 'undefined' ? pageTitleForMeta : 'Fleet for osquery | Open source device management' %> - + <%= typeof pageTitleForMeta !== 'undefined' ? pageTitleForMeta : 'Fleet Device Management | Lightweight, programmable telemetry for servers and workstations' %> + <% /* Viewport tag for sensible mobile support */ %> + <%// Twitter meta tags%> - - - + + + + <%// 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 rule. (Include them up here along with any hard-coded «link» tags for Typekit, @@ -142,14 +147,14 @@
- Chat - Podcasts - State of device management - ARTICLES + Announcements Security Engineering - Announcements - See more + Podcasts + Reports + RESOURCES + Join the conversation + Contribute to Fleet RESOURCES Handbook Logos & artwork @@ -187,14 +192,15 @@
Community