mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
Update link previews for non-article pages (#9629)
closes https://github.com/fleetdm/fleet/issues/9544 Changes: - Updated layout.ejs to only use `summary_large_card` for link previews if the page has a `pageImageForMeta` value
This commit is contained in:
parent
2957ea9bf4
commit
424b370e63
1 changed files with 1 additions and 1 deletions
2
website/views/layouts/layout.ejs
vendored
2
website/views/layouts/layout.ejs
vendored
|
|
@ -14,7 +14,7 @@
|
|||
<% /* 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_large_image" />
|
||||
<meta name="twitter:card" content="<%= typeof pageImageForMeta !== 'undefined' ? 'summary_large_image' : '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 for osquery | Lightweight, programmable telemetry for servers and workstations' %>" />
|
||||
|
|
|
|||
Loading…
Reference in a new issue