Skip to content

Commit ef53629

Browse files
authored
Merge pull request #257 from sidd-oo/open-graph-image-link
Added Open Graph tags for better sharing previews
2 parents 7509270 + c4a2643 commit ef53629

File tree

3 files changed

+22
-13
lines changed

3 files changed

+22
-13
lines changed

docs/_config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ defaults:
6363
type: "pages"
6464
values:
6565
layout: "plain"
66+
image:
67+
path: /assets/images/logos/nighthawk/icon/nighthawk-logo.png
6668
-
6769
scope:
6870
path: ""

docs/_includes/header.html

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -51,19 +51,26 @@
5151
</script>
5252
<script async src="https://www.google-analytics.com/analytics.js"></script>
5353
{% endif %}
54-
<meta name="twitter:card" content="summary" />
55-
<meta property="twitter:title" content="Nighthawk" />
56-
<meta name="twitter:site" content="@layer5" />
57-
<meta name="twitter:creator" content="@Lee Calcote" />
58-
<meta
59-
name="twitter:image"
60-
content="https://getnighthawk.dev/images/logos/nighthawk/icon/nighthawk-logo.svg"
61-
/>
62-
<meta
63-
name="image"
64-
property="og:image"
65-
content="https://getnighthawk.dev/images/logos/nighthawk/icon/nighthawk-logo.svg"
66-
/>
54+
<!-- HTML Meta Tags -->
55+
<title>Nighthawk</title>
56+
<meta name="description" content="The Nighthawk distribution for service mesh performance characterization. Integrating Meshery and Service Mesh Performance.">
57+
58+
<!-- Facebook Meta Tags -->
59+
<meta property="og:url" content="https://getnighthawk.dev/">
60+
<meta property="og:type" content="website">
61+
<meta property="og:title" content="Nighthawk">
62+
<meta property="og:description" content="The Nighthawk distribution for servicFe mesh performance characterization. Integrating Meshery and Service Mesh Performance.">
63+
<meta property="og:image" content="https://getnighthawk.dev/assets/images/logos/nighthawk/icon/nighthawk-logo.png">
64+
65+
<!-- Twitter Meta Tags -->
66+
<meta name="twitter:card" content="summary_large_image">
67+
<meta property="twitter:domain" content="getnighthawk.dev">
68+
<meta property="twitter:url" content="https://getnighthawk.dev/">
69+
<meta name="twitter:title" content="Nighthawk">
70+
<meta name="twitter:description" content="The Nighthawk distribution for service mesh performance characterization. Integrating Meshery and Service Mesh Performance.">
71+
<meta name="twitter:image" content="https://getnighthawk.dev/assets/images/logos/nighthawk/icon/nighthawk-logo.png">
72+
<meta property="og:image:width" content="400" />
73+
<meta property="og:image:height" content="400" />
6774
</head>
6875

6976
<body style="overflow-x: hidden">
24.1 KB
Loading

0 commit comments

Comments
 (0)