Skip to content

Commit dc1747c

Browse files
committed
Fix and fill out the social sharing metadata
og:image pointed at a cover.png over plain http, so previews were insecure-mixed-content at best. It now points at the banner over https, with the large-image Twitter card, matching twitter:* tags, a canonical URL, and a description that names the libraries the page actually covers.
1 parent 5df89ad commit dc1747c

1 file changed

Lines changed: 13 additions & 5 deletions

File tree

templates/t_index.html

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,28 @@
44
<head>
55
<meta charset="utf-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
7-
<meta name="description" content="Interactive comparison of Python plotting libraries for exploratory data analysis. Examples of using Pandas plotting, plotnine, Seaborn, and Matplotlib. Includes comparison with ggplot2 for R.">
7+
<meta name="description" content="Side-by-side comparison of Python plotting libraries for exploratory data analysis: pandas, Matplotlib, Seaborn, plotnine, Lets-Plot, plotly, hvPlot, and Altair, with R's ggplot2 for reference.">
88
<meta name="author" content="Timothy Hopper">
99

1010
<title>Python Plotting for Exploratory Analysis</title>
1111

12+
<link rel="canonical" href="https://pythonplot.com/">
13+
1214
<meta property="og:title" content="Python Plotting for Exploratory Analysis" />
1315
<meta property="og:type" content="article" />
14-
<meta property="og:url" content="https://pythonplot.com" />
15-
<meta property="og:image" content="http://pythonplot.com/img/cover.png" />
16+
<meta property="og:site_name" content="pythonplot.com" />
17+
<meta property="og:url" content="https://pythonplot.com/" />
18+
<meta property="og:image" content="https://pythonplot.com/img/banner.png" />
19+
<meta property="og:image:alt" content="The same plot drawn with several Python plotting libraries side by side." />
1620
<meta property="og:description"
17-
content="Interactive comparison of Python plotting libraries for exploratory data analysis. Examples of using Pandas plotting, plotnine, Seaborn, and Matplotlib. Includes comparison with ggplot2 for R." />
18-
<meta name="twitter:card" content="summary" />
21+
content="Side-by-side comparison of Python plotting libraries for exploratory data analysis: pandas, Matplotlib, Seaborn, plotnine, Lets-Plot, plotly, hvPlot, and Altair, with R's ggplot2 for reference." />
22+
<meta name="twitter:card" content="summary_large_image" />
1923
<meta name="twitter:site" content="@tdhopper" />
2024
<meta name="twitter:creator" content="@tdhopper" />
25+
<meta name="twitter:title" content="Python Plotting for Exploratory Analysis" />
26+
<meta name="twitter:description"
27+
content="Side-by-side comparison of Python plotting libraries for exploratory data analysis: pandas, Matplotlib, Seaborn, plotnine, Lets-Plot, plotly, hvPlot, and Altair, with R's ggplot2 for reference." />
28+
<meta name="twitter:image" content="https://pythonplot.com/img/banner.png" />
2129

2230
<link rel="apple-touch-icon" sizes="57x57" href="/img/ico/apple-icon-57x57.png">
2331
<link rel="apple-touch-icon" sizes="60x60" href="/img/ico/apple-icon-60x60.png">

0 commit comments

Comments
 (0)