_includes/head.html in jekyll-theme-pirati-3.1.2 vs _includes/head.html in jekyll-theme-pirati-3.2.0
- old
+ new
@@ -35,12 +35,12 @@
<meta property="og:url" content="{{ page.url | absolute_url }}" />
<meta property="og:type" content="website" />
<meta property="og:title" content="{{ title }}" />
<meta property="og:description" content="{{ description }}" />
{% if page.layout == 'post' %}
- <meta property="og:image" content="{{ page.image | relative_url }}" />
+ <meta property="og:image" content="{% asset '{{ page.image }}' @path %}" />
{% elsif page.img %}
- <meta property="og:image" content="{{ 'assets/{{ page.img | relative_url }}" />
+ <meta property="og:image" content="{% asset '{{ page.img }}' @path %}'" />
{% else %}
<meta property="og:image" content="{{ 'assets/img/brand/logo-round.png' | relative_url }}" />
{% endif %}
<!-- Fonts -->
{% if page.layout != 'blank' %}