Skip to content

Commit 8366cad

Browse files
committed
Add more open graph and twitter metadata tags to docs
1 parent 36a9c12 commit 8366cad

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

docs/_template.html

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,28 @@
66
<title>{{fsdocs-page-title}}</title>
77
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
88
<meta name="author" content="{{fsdocs-authors}}">
9+
<meta name="description" content="Plotly.NET is an Interactive charting library for .NET programming languages. This page contains the documentation for: {{fsdocs-page-title}}">
910

10-
<!--Opengraph properties (https://ogp.me/)-->
11-
<meta property="og:title" content="{{fsdocs-page-title}}" />
11+
<!-- Opengraph properties (https://ogp.me/) -->
12+
<meta property="og:title" content="Plotly.NET documentation for: {{fsdocs-page-title}}" />
13+
<meta property="og:url" content="{{root}}{{fsdocs-source-basename}}.html">
1214
<meta property="og:type" content="website" />
1315
<meta property="og:site_name" content="Plotly.NET" />
16+
<meta property="og:description" content="Plotly.NET is an Interactive charting library for .NET programming languages. This page contains the documentation for: {{fsdocs-page-title}}">
17+
<meta property="og:image" content="{{fsdocs-logo-link}}">
18+
19+
<!-- Twitter cards -->
20+
<meta name="twitter:card" content="summary_large_image">
21+
<meta property="twitter:domain" content="{{root}}{{fsdocs-source-basename}}.html">
22+
<meta property="twitter:url" content="https://plotly.net">
23+
<meta name="twitter:title" content="Plotly.NET documentation for: {{fsdocs-page-title}}">
24+
<meta name="twitter:description" content="Plotly.NET is an Interactive charting library for .NET programming languages. This page contains the documentation for: {{fsdocs-page-title}}">
25+
<meta name="twitter:image" content="{{fsdocs-logo-link}}">
1426

1527
<link rel="shortcut icon" type="image/x-icon" href="{{root}}/img/favicon.ico">
1628
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
1729
<script src="https://cdn.plot.ly/plotly-2.18.1.min.js"></script>
18-
<script> MathJax = { tex: { inlineMath: [['$', '$'], ['\\(', '\\)']] } }; </script>
30+
<script>MathJax = { tex: { inlineMath: [['$', '$'], ['\\(', '\\)']] } };</script>
1931
<script src="https://cdn.jsdelivr.net/npm/mathjax@3.2.0/es5/tex-svg.js"></script>
2032

2133
<link type="text/css" rel="stylesheet" href="{{root}}content/fsdocs-default.css" />

0 commit comments

Comments
 (0)