8000 Fix SEO image · hl2/hl2.com@da73eb0 · GitHub
[go: up one dir, main page]

Skip to content

Commit da73eb0

Browse files
committed
Fix SEO image
Remove Facebook app ID Applied workaround for twitter:card value (see. jekyll/jekyll-seo-tag#225)
1 parent 324a86e commit da73eb0

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

_config.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
image: https://static.hl2.com/images/social_networks/hl2.jpg
21
title: HL2
32
email: contact@hl2.com
43
description: >-
@@ -10,8 +9,6 @@ twitter:
109
username: hl2_fr
1110
github:
1211
username: hl2
13-
facebook:
14-
app_id: 1320729961397318
1512
social:
1613
name: HL2
1714
links:
@@ -45,6 +42,15 @@ plugins:
4542
- jekyll-sitemap
4643
- jekyll-google-tag-manager
4744

45+
defaults:
46+
- scope:
47+
path: ""
48+
values:
49+
image:
50+
path: https://static.hl2.com/images/social_networks/hl2.jpg
51+
height: 600
52+
width: 600
53+
4854
collections:
4955
events:
5056
pages:

_includes/head.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,9 @@
1212
<link rel="icon" type="image/x-icon" href="{% asset favicon.ico @path %}">
1313

1414
{% asset main.css %}
15+
{% capture seo %}
1516
{% seo %}
17+
{% endcapture %}
18+
19+
{{ seo | replace: "summary_large_image", "summary" }}
1620
</head>

0 commit comments

Comments
 (0)
0