Browse Source

Test for twitter image card

redesign
Anxhelo Lushka 7 years ago
committed by GitHub
parent
commit
ddfcd92a54
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      _includes/head.html

3
_includes/head.html

@ -29,12 +29,13 @@
{% endfor %} {% endfor %}
{% endif %} {% endif %}
{% if page.images %} {% if page.images %}
<meta content="{{ page.images[[0]] }}" property="og:image"> <meta content="{{ site.url}}{{ page.images }}" property="og:image">
{% else %} {% else %}
<meta content="/images/main/icon.png" property="og:image"> <meta content="/images/main/icon.png" property="og:image">
{% endif %} {% endif %}
<meta name="twitter:card" content="summary" /> <meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@uracreative" /> <meta name="twitter:site" content="@uracreative" />
<meta name="twitter:image" content="{{ site.url }}{{ page.images }}" />
<link rel="stylesheet" href="{{ "/css/app.css" | prepend: site.baseurl }}"> <link rel="stylesheet" href="{{ "/css/app.css" | prepend: site.baseurl }}">
<link href="{{ "/fonts/overpass/overpass.css" | prepend: site.baseurl }}" rel="stylesheet"> <link href="{{ "/fonts/overpass/overpass.css" | prepend: site.baseurl }}" rel="stylesheet">

Loading…
Cancel
Save