diff options
author | Rasmus Andersson <rasmus@notion.se> | 2019-06-03 20:20:02 +0300 |
---|---|---|
committer | Rasmus Andersson <rasmus@notion.se> | 2019-06-03 20:20:02 +0300 |
commit | a965cb5c43afff6518b9b20375b2e6cec36c652f (patch) | |
tree | 5d327e650bec4705e65308d8c3a4fc9240c47796 /docs/_layouts/default.html | |
parent | 2c33d1fb0061083aba147cb85e179f8fb4e68381 (diff) | |
download | inter-a965cb5c43afff6518b9b20375b2e6cec36c652f.tar.xz |
website: fb/og card fix
Diffstat (limited to 'docs/_layouts/default.html')
-rw-r--r-- | docs/_layouts/default.html | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index 89ee612fc..a7d816fe8 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -47,26 +47,27 @@ endfor <meta name="twitter:creator" content="@rsms"> <meta name="twitter:description" content="{{description}}"> <meta name="description" content="{{description}}"> - <meta property="og:description" content="{{description}}"> + <meta name="og:description" content="{{description}}"> {% if page.title %} - <meta property="og:title" content="{{ page.title }}"> + <meta name="og:title" content="{{ page.title }}"> <meta name="twitter:title" content="{{ page.title }}"> {% else %} - <meta property="og:title" content="{{ title }}"> + <meta name="og:title" content="{{ title }}"> <meta name="twitter:title" content="{{ title }}"> {% endif %} {% if page.og_image_url %} - <meta property="og:image" content="{{ page.og_image_url }}"> + <meta name="og:image" content="{{ page.og_image_url }}"> <meta name="twitter:image" content="{{ page.og_image_url }}"> {% else %} - <meta property="og:image" content="https://rsms.me/inter/res/share.png"> + <meta name="og:image" content="https://rsms.me/inter/res/share.png"> <meta name="twitter:image" content="https://rsms.me/inter/res/share.png"> {% endif %} - <meta property="og:url" content="https://rsms.me/inter/{{ page.url | remove_first:'index.html' }}"> - <meta property="fb:app_id" content="38027689216"> - <meta property="og:site_name" content="rsms.me/inter"> - <meta property="og:type" content="product"> - <meta property="og:locale" content="en_US" /> + <meta name="og:image:alt" content="Inter font family sample image"> + <meta name="og:url" content="https://rsms.me/inter/{{ page.url | remove_first:'index.html' }}"> + <meta name="fb:app_id" content="38027689216"> + <meta name="og:site_name" content="rsms.me/inter"> + <meta name="og:type" content="product"> + <meta name="og:locale" content="en_US"> </head> <body> <div id="hud-notification"><div class="msg">Hello</div></div> |