Update og image

pull/287/head
Glen Cheney 5 years ago
parent 25de01b295
commit 4c8b96dc11

@ -19,6 +19,6 @@ baseurl: /Shuffle
defaultTitle: 'Shuffle.js'
defaultDescription: 'Categorize, sort, and filter a responsive grid of items'
defaultImage: '/img/shuffle.png'
ogImage: '/img/shuffle-open-graph.png'
longDescription: 'Shuffle.js is a package for sorting, filtering, and laying out a group of items. It’s performant, responsive, and fast. Check out the demos!'

@ -4,7 +4,7 @@
<meta charset="utf-8" />
<title>{{ page.title }}</title>
{% capture description %}{% if page.description %}{{ page.description }}{% else %}{{ site.defaultDescription }}{% endif %}{% endcapture %}
{% capture image %}{% if page.image %}{{ page.image }}{% else %}{{ site.defaultImage }}{% endif %}{% endcapture %}
{% capture image %}{% if page.image %}{{ page.image }}{% else %}{{ site.ogImage }}{% endif %}{% endcapture %}
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta property="og:title" content="{{ page.title }}" />
<meta property="og:description" content="{{ description }}" />

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Loading…
Cancel
Save