jumbo-jekyll-theme 1.4.3.19 → 1.4.3.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5671f3a5f6e912089e230a5920a6284e16a5334e
4
- data.tar.gz: e7fb870fde9090442229e86fa051d01c96e981f6
3
+ metadata.gz: 69c3249e6ceab1bce773b2a17dabc43d8aa9a89f
4
+ data.tar.gz: a5e9e4e9c67095a6d2dce52db4df57ea68db05b8
5
5
  SHA512:
6
- metadata.gz: 728ac618a3f540cf76f875141bd72d2fe9a348e152328ae28db092bea027ea151eab5f7c41af935a25af67faa339382c4d4d68afa9a3da50430c6f38ee539834
7
- data.tar.gz: a468a4017d3b29d51b85a7be961a9d5606169251edc53ba6de9396a1f5e1b91034b1503d8c2c11a5f53363925117a6e9a2fa783718307b52519393fffa346976
6
+ metadata.gz: 67a48e6f2fbaa4c28085acc81c44a85e8603209d0949465d738420ba0e07602a5ef14ef84525505d250d5ccd350e3389c8c38a39d107ce4cd0fc23d1965b68f2
7
+ data.tar.gz: c70adb536f1c2ab01667e930a41d547fd22bc59295ed56a1050ccf383b8a11d39bc7472dbe0717c125089188d9c3285990b39cee2024ccb28195af0f9bced7f5
data/_data/settings.yml CHANGED
@@ -26,6 +26,7 @@ linaro-footer-image: Linaro-Sprinkle.png
26
26
  edit-on-github:
27
27
  enabled: true
28
28
  repo: https://www.github.com/Linaro/website
29
+ # docs: https://www.github.com/Linaro/website
29
30
 
30
31
  # Settings for the home page
31
32
  home:
@@ -2,6 +2,40 @@
2
2
  {% assign page_base = page.permalink | split:"/" %}
3
3
 
4
4
  {% if page_base[1] == "blog" %}
5
+
6
+ {% elsif page_base[1] == "documentation" and site.data.settings.edit-on-github.docs %}
7
+
8
+ {% capture github-home %}{{site.data.settings.edit-on-github.docs}}{% endcapture %}
9
+ {% capture github-docs %}{{site.data.settings.edit-on-github.docs}}/tree/master/{% endcapture %}
10
+ {% capture report-issue-link %}
11
+ {{github-home}}/issues/new?title=Problem+with+{{page-path}}&body=Please+enter+some+details+about+the+bug/issue+so+we+can+promptly+resolve+it.+%0D%0AURL%3A++{{site.url}}{{page.url}}
12
+ {% endcapture %}
13
+
14
+ {% capture edit-me-link %}{{github-docs}}{{page-path}}{% endcapture %}
15
+
16
+ <div class="container-fluid github-edit">
17
+ <div class="row">
18
+ <div class="container">
19
+ <div class="edit-me-on-github text-center">
20
+ <div class="btn-group btn-group-xs" role="group" id="github_controls">
21
+ <a type="button" href="{{github-home}}" class="btn btn-default github_control_btn btn-buy" id="github_home">
22
+ <i class="icon-github-circled center-block"></i>
23
+ </a>
24
+ <a type="button" href="{{report-issue-link}}" class="btn btn-default github_control_btn btn-buy" id="submit_issue">
25
+ <span class="top-text">Report</span>
26
+ <span class="bottom-text">an Issue</span>
27
+ </a>
28
+ <a type="button" href="{{edit-me-link | replace: " ", "" }}" class="btn btn-default github_control_btn btn-buy" id="edit_on_github">
29
+ <span class="top-text">Edit</span>
30
+ <span class="bottom-text">on Github</span>
31
+ </a>
32
+ </div>
33
+
34
+ </div>
35
+ </div>
36
+ </div>
37
+ </div>
38
+
5
39
  {% else %}
6
40
  {% assign page-path = page.path | replace: " ", "" %}
7
41
 
@@ -66,7 +66,7 @@
66
66
  {% if assets[post.image.thumb] %}
67
67
  data-src="{% asset_path '{{post.image.thumb}}'%}"
68
68
  {% else %}
69
- data-src="{{post.image.name}}"
69
+ data-src="{% asset_path '{{post.image.name}}' %}"
70
70
  {% endif %}
71
71
  {% else %}
72
72
  data-src="/{{site.mini_magick.thumbnails.destination}}{{post.image.name}}"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jumbo-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.3.19
4
+ version: 1.4.3.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-21 00:00:00.000000000 Z
11
+ date: 2018-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll