Skip to content

Commit a00e5a9

Browse files
committed
Use valid OG meta
1 parent bcef1a0 commit a00e5a9

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

_includes/head.html

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,14 +110,18 @@
110110
<meta name=twitter:domain content=csswizardry.com>
111111
<meta name=twitter:creator content=@csswizardry>
112112
<meta property=og:type content=website>
113-
<meta name=twitter:title property=og:title content="{{ page.title }} – CSS Wizardry">
113+
<meta property=og:title content="{{ page.title }} – CSS Wizardry">
114+
<meta name=twitter:title content="{{ page.title }} – CSS Wizardry">
114115
{% if page.meta %}
115-
<meta name=twitter:description property=og:description content="{{ page.meta }}">
116+
<meta property=og:description content="{{ page.meta }}">
117+
<meta name=twitter:description content="{{ page.meta }}">
116118
{% endif %}
117119
{% if page.main %}
118-
<meta name=twitter:image property=og:image content="{{ page.main }}">
120+
<meta property=og:image content="{{ page.main }}">
121+
<meta name=twitter:image content="{{ page.main }}">
119122
{% else %}
120-
<meta name=twitter:image property=og:image content=https://csswizardry.com/img/css/masthead-small.jpg>
123+
<meta property=og:image content=https://csswizardry.com/img/css/masthead-small.jpg>
124+
<meta name=twitter:image content=https://csswizardry.com/img/css/masthead-small.jpg>
121125
{% endif %}
122126

123127
<link rel=alternate type=application/atom+xml href=https://csswizardry.com/feed.xml>

0 commit comments

Comments
 (0)