Browse Source

Added image metadata

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

7
_includes/head.html

@ -11,12 +11,10 @@
<meta property="og:title" content="{{ page.title }}">
<meta property="og:type" content="article">
<meta property="og:description" content="{{ page.excerpt | strip_html }}"/>
<meta property="og:image" content="{{ page.images }}">
{% else %}
<meta property="og:title" content="{{ site.title }}">
<meta property="og:type" content="website">
<meta property="og:description" content="{{ site.description }}">
<meta property="og:image" content="{{ page.images }}">
{% endif %}
{% if page.date %}
<meta property="article:published_time" content="{{ page.date | date_to_xmlschema }}">
@ -28,6 +26,11 @@
<meta property="article:tag" content="{{ tag }}">
{% endfor %}
{% endif %}
{% if page.image %}
<meta content="{{ page.image }}" property="og:image">
{% else %}
<meta content="/images/main/icon.png" property="og:image">
{% endif %}
<link rel="stylesheet" href="{{ "/css/app.css" | prepend: site.baseurl }}">
<link href="{{"/fonts/overpass/overpass.css" | prepend: site.baseurl}}" rel="stylesheet">

Loading…
Cancel
Save