Skip to content
Permalink
Browse files

Opraveny Twitter náhledy

  • Loading branch information
mukrop committed Feb 8, 2020
1 parent dd09b0e commit 348ba032929144eb2652d114d53bc058da427dd7
Showing with 2 additions and 2 deletions.
  1. +2 −2 _includes/header.html
  2. BIN assets/img/preview.png
@@ -16,11 +16,11 @@
<meta name="twitter:card" content="summary_large_image">
{% case page.layout %}
{% when 'infographic' %}
{% assign social_image = site.url | append: "/assets/infographics/" | append: page.slug | append: ".png" %}
{% assign social_image = site.url | append: "/assets/infographics/" | append: page.slug | append: "_1200.png" %}
{% when 'study' %}
{% assign social_image = site.url | append: "/assets/studies/" | append: page.slug | append: ".jpg" %}
{% else %}
{% assign social_image = site.url | append: "/assets/img/favicon.png" %}
{% assign social_image = site.url | append: "/assets/img/preview.png" %}
{% endcase %}
<meta property="og:image" content="{{ social_image }}">
<meta name="twitter:image" content="{{ social_image }}">
Binary file not shown.

0 comments on commit 348ba03

Please sign in to comment.
You can’t perform that action at this time.