docs: Fixes embed images for modernuo.com (#334)

Bumps docs to fix embed image not showing up for modernuo.com
This commit is contained in:
Kamron Batman 2020-12-07 09:52:03 -08:00 committed by GitHub
parent 54b0a7dcb5
commit 11438fddd0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,7 +10,7 @@
{% endif %}
<!-- The image needs to have an absolute URL -->
{% set image = config.site_url ~ 'branding/android-chrome-512x512.png' %}
{% set image = config.site_url ~ '/branding/android-chrome-512x512.png' %}
<!-- Open graph meta tags -->
<meta property="og:type" content="website" />
@ -19,8 +19,8 @@
<meta property="og:url" content="{{ page.canonical_url }}" />
<meta property="og:image" content="{{ image }}" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="630" />
<meta property="og:image:width" content="512" />
<meta property="og:image:height" content="512" />
<!-- Twitter meta tags -->
<meta name="twitter:card" content="summary_large_image" />