File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 3333 < meta property ="og:type " content ="article " />
3434 < meta property ="og:title " content ="{{ page.title }} " />
3535 < meta property ="og:description " content ="{{ page.excerpt | strip_html }} " />
36- < meta property ="og:image " content ="{{ site.baseurl }}/{{ page.image }} " />
36+ {% if page.image %}
37+ < meta
38+ property ="og:image "
39+ content ="{{ page.url | prepend: site.baseurl | prepend: site.url }}{{ page.image.path }} "
40+ />
41+ < meta property ="og:image:width " content ="{{ page.image.width }} " />
42+ < meta property ="og:image:height " content ="{{ page.image.height }} " />
43+ {% endif %}
3744 < meta property ="og:url " content ="{{ site.url }}/{{ page.url }} " />
3845 < meta property ="og:site_name " content ="{{ site.title }} " />
3946
You can’t perform that action at this time.
0 commit comments