Skip to content

Commit 423b6eb

Browse files
phananchrisvfritz
authored andcommitted
Use absolute URL for OG and Twitter images (vuejs#545)
1 parent cae664d commit 423b6eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

themes/vue/layout/layout.ejs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
<meta property="og:type" content="article">
1111
<meta property="og:title" content="<%- page.title ? page.title + ' - ' : '' %>vue.js">
1212
<meta property="og:description" content="<%- theme.site_description %>">
13-
<meta property="og:image" content="/images/logo.png">
13+
<meta property="og:image" content="https://<%- theme.root_domain %>/images/logo.png">
1414

1515
<meta name="twitter:card" content="summary">
1616
<meta name="twitter:title" content="<%- page.title ? page.title + ' - ' : '' %>vue.js">
1717
<meta name="twitter:description" content="<%- theme.site_description %>">
18-
<meta name="twitter:image" content="/images/logo.png">
18+
<meta name="twitter:image" content="https://<%- theme.root_domain %>/images/logo.png">
1919

2020
<link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600|Roboto Mono' rel='stylesheet' type='text/css'>
2121
<link href='//fonts.googleapis.com/css?family=Dosis:500&text=Vue.js' rel='stylesheet' type='text/css'>

0 commit comments

Comments
 (0)