mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
Website: Update meta tags for social previews (#7428)
* Website: update meta tags in layouts * update meta tags * update sandbox header nav
This commit is contained in:
parent
f413ae764a
commit
0296aa7435
4 changed files with 42 additions and 21 deletions
9
website/views/layouts/layout-customer.ejs
vendored
9
website/views/layouts/layout-customer.ejs
vendored
|
|
@ -12,11 +12,16 @@
|
|||
|
||||
<% /* 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: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: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" />
|
||||
<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: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
|
||||
rule. (Include them up here along with any hard-coded «link» tags for Typekit,
|
||||
|
|
|
|||
7
website/views/layouts/layout-landing.ejs
vendored
7
website/views/layouts/layout-landing.ejs
vendored
|
|
@ -12,11 +12,16 @@
|
|||
|
||||
<% /* 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: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: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' %>" />
|
||||
<%// 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: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
|
||||
rule. (Include them up here along with any hard-coded «link» tags for Typekit,
|
||||
|
|
|
|||
40
website/views/layouts/layout-sandbox.ejs
vendored
40
website/views/layouts/layout-sandbox.ejs
vendored
|
|
@ -7,16 +7,21 @@
|
|||
%><!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">
|
||||
<%// Twitter meta tags%>
|
||||
<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:image" content="https://fleetdm.com/images/fleet-logo-square@2x.png" />
|
||||
<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' %>" />
|
||||
<%// 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: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
|
||||
rule. (Include them up here along with any hard-coded «link» tags for Typekit,
|
||||
|
|
@ -142,14 +147,14 @@
|
|||
<a purpose="mobile-dropdown-toggle" class="d-flex align-items-center mr-4 collapsed" data-toggle="collapse" data-target="#mobileNavbarToggleCommunity">Community</a>
|
||||
<div class="d-block">
|
||||
<div id="mobileNavbarToggleCommunity" purpose="mobile-dropdown" class="collapse" data-parent="#mobileDropdowns">
|
||||
<a href="/slack" target="_blank">Chat</a>
|
||||
<a href="/podcasts">Podcasts</a>
|
||||
<a href="/reports/state-of-device-management">State of device management</a>
|
||||
<span>ARTICLES</span>
|
||||
<a href="/announcements">Announcements</a>
|
||||
<a href="/securing">Security</a>
|
||||
<a href="/engineering">Engineering</a>
|
||||
<a href="/announcements">Announcements</a>
|
||||
<a href="/articles">See more</a>
|
||||
<a href="/podcasts">Podcasts</a>
|
||||
<a href="/reports/state-of-device-management">Reports</a>
|
||||
<span>RESOURCES</span>
|
||||
<a href="/slack" target="_blank">Join the conversation</a>
|
||||
<a href="/contribute">Contribute to Fleet</a>
|
||||
<span>RESOURCES</span>
|
||||
<a href="/handbook">Handbook</a>
|
||||
<a href="/logos">Logos & artwork</a>
|
||||
|
|
@ -187,14 +192,15 @@
|
|||
<div purpose="dropdown-button" class="btn-group">
|
||||
<a class="dropdown-toggle d-flex align-items-center py-2 px-3" data-toggle="dropdown">Community</a>
|
||||
<div purpose="header-dropdown" class="dropdown-menu">
|
||||
<a class="dropdown-item mb-1" href="/slack" target="_blank">Chat</a>
|
||||
<a class="dropdown-item mb-1" href="/podcasts">Podcasts</a>
|
||||
<a class="dropdown-item mb-1" href="/reports/state-of-device-management">State of device management</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<span class="muted dropdown-header">ARTICLES</span>
|
||||
<a class="dropdown-item mb-1" href="/announcements">Announcements</a>
|
||||
<a class="dropdown-item mb-1" href="/securing">Security</a>
|
||||
<a class="dropdown-item mb-1" href="/engineering">Engineering</a>
|
||||
<a class="dropdown-item mb-1" href="/announcements">Announcements</a>
|
||||
<a class="dropdown-item mb-1" href="/podcasts">Podcasts</a>
|
||||
<a class="dropdown-item mb-1" href="/reports/state-of-device-management">Reports</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<span class="muted dropdown-header">CONTRIBUTE</span>
|
||||
<a class="dropdown-item mb-1" href="/slack" target="_blank">Join the conversation</a>
|
||||
<a class="dropdown-item mb-1" href="/contribute">Contribute to Fleet</a>
|
||||
<div class="dropdown-divider"></div>
|
||||
<span class="muted dropdown-header">RESOURCES</span>
|
||||
<a class="dropdown-item mb-1" href="/handbook">Handbook</a>
|
||||
|
|
|
|||
7
website/views/layouts/layout.ejs
vendored
7
website/views/layouts/layout.ejs
vendored
|
|
@ -13,11 +13,16 @@
|
|||
|
||||
<% /* 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: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: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: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
|
||||
rule. (Include them up here along with any hard-coded «link» tags for Typekit,
|
||||
|
|
@ -236,7 +241,7 @@
|
|||
<iframe src="//ghbtns.com/github-btn.html?user=fleetdm&repo=fleet&type=watch&count=true"
|
||||
allowtransparency="true" frameborder="0" scrolling="0" width="100" height="20"></iframe>
|
||||
</span>
|
||||
<a style="padding: 4px 16px; line-height: 24px; color: #FFFFFF" class="pl-4 btn btn-sm btn-primary align-items-center d-flex" href="/try-fleet/register?tryitnow" >Try Fleet</a>
|
||||
<a style="padding: 4px 16px; line-height: 24px; color: #FFFFFF" class="btn btn-sm btn-primary align-items-center d-flex" href="/try-fleet/register?tryitnow" >Try Fleet</a>
|
||||
<% if(_.has(me, 'id')) {%>
|
||||
<a href="/logout" class="justify-content-end pl-4 py-2 text-decoration-none" style="text-decoration: none; line-height: 23px;">Log out</a>
|
||||
<% }%>
|
||||
|
|
|
|||
Loading…
Reference in a new issue