Skip to content

Commit 794fc6c

Browse files
committed
Use an absolute URL for social images
1 parent a0e846f commit 794fc6c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/_layouts/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
{% else %}
3939
<meta property="og:description" content="{{ site.data.project.description }}" />
4040
{% endif %}
41-
<meta property="og:image" content="/images/commonmark-social.png" />
41+
<meta property="og:image" content="https://commonmark.thephpleague.com/images/commonmark-social.png" />
4242
<link rel="stylesheet" href="//theme.thephpleague.com/css/all.css?{{ site.github.build_revision }}">
4343
<link rel="stylesheet" href="/custom.css?{{ site.github.build_revision }}">
4444
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">

docs/_layouts/homepage.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<meta property="og:url" content="https://commonmark.thephpleague.com/" />
1717
<meta property="og:title" content="{{ site.data.project.site_title }} - {{ site.data.project.tagline }}" />
1818
<meta property="og:description" content="{{ site.data.project.description }}" />
19-
<meta property="og:image" content="/images/commonmark-social.png" />
19+
<meta property="og:image" content="https://commonmark.thephpleague.com/images/commonmark-social.png" />
2020
<link rel="stylesheet" href="//theme.thephpleague.com/css/all.css?{{ site.github.build_revision }}">
2121
<link rel="stylesheet" href="/homepage.css?{{ site.github.build_revision }}">
2222
<script async src="https://www.googletagmanager.com/gtag/js?id={{ site.data.project.google_analytics_tracking_id }}"></script>

0 commit comments

Comments
 (0)