jekyll-theme-pirati 6.0.1 → 6.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/head.html +5 -3
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 94237508992a95fe11f71f31fdb108d5d39b1867ccd0d54f90b6ba55c5dcab40
4
- data.tar.gz: 146bc1b616860bb2ef30b02b43f460fa5e8f15af7b5779a280e14c4b262b54cf
3
+ metadata.gz: 1c67c4740feb2edc6ef05ab7e62c8210d66700eb28064c23e57a6a4eec3c2a5a
4
+ data.tar.gz: 8b83e4d262f1adb1cf32cee6234b7b4f3a5d09125f4b192ddd276a5eb21dfb97
5
5
  SHA512:
6
- metadata.gz: 6a603edbfe51e29d3bf806cad274c27e21be6735677880be25f3091b839d24845b4b43f4447ce3a57dc24a5c9183fab7bc63e4c192445272682ec82ca2a43d05
7
- data.tar.gz: 4536d0cb098b667aed8e505804d845c455a031330096d47a36bd1a4dd1e11cb911227415a7e2fbb812ac6f10f4d91e0bbc87de14c9f6b9c9d61761667dd3d771
6
+ metadata.gz: 3cabca9061ff1a783168c9cf713ec89c135084becfe421a81476dac989f57fa6b4802be68bb955fec89ec1bf83f09f8ae4eae6acb15d6fd5a44c324e48ba9d99
7
+ data.tar.gz: e2fd1d9a1d986852472eeee790f269254802325db7f4d4728cad6de4ebdb075217fe6011bdc6f34db46e5ecd892f1ff675e6405a1da865b05fe8e2104d957d4c
@@ -37,11 +37,13 @@
37
37
  <meta property="og:title" content="{{ title }}" />
38
38
  <meta property="og:description" content="{{ description }}" />
39
39
  {% if page.layout == 'post' %}
40
- <meta property="og:image" content="{% asset '{{ page.image }}' @path %}" />
40
+ {% capture img_path %}{% asset '{{ page.image }}' @path %}{% endcapture %}
41
+ <meta property="og:image" content="{{ img_path | absolute_url }}" />
41
42
  {% elsif page.img %}
42
- <meta property="og:image" content="{% asset '{{ page.img }}' @path %}'" />
43
+ {% capture img_path %}{% asset '{{ page.img }}' @path %}{% endcapture %}
44
+ <meta property="og:image" content="{{ img_path | absolute_url }}" />
43
45
  {% else %}
44
- <meta property="og:image" content="{{ 'assets/img/brand/logo-round.png' | relative_url }}" />
46
+ <meta property="og:image" content="{{ 'assets/img/brand/logo-round.png' | absolute_url }}" />
45
47
  {% endif %}
46
48
  <!-- Fonts -->
47
49
  {% if page.layout != 'blank' %}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-pirati
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.1
4
+ version: 6.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jitka Novotná
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-08-13 00:00:00.000000000 Z
12
+ date: 2018-08-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll