jumbo-jekyll-theme 1.4.3.2 → 1.4.3.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0c768f2e6c29848fe33cff043511b7d611810071
4
- data.tar.gz: ff1338d5c1bff158f3805e26272f4317d99f20d5
3
+ metadata.gz: 20e61ca33354e82f0e07f72a7a65a6fee6452146
4
+ data.tar.gz: 56c210936adcc3ab991a93fc16599239695db2e9
5
5
  SHA512:
6
- metadata.gz: 30eff15ba5419cec1dfe345f16b7b6db4f14ba6a96044f3cc91600fac302f211b2b73c9c759fc350ba5cfd88fe3c630ff1998c0117bf675ed8d1daff5f2cb384
7
- data.tar.gz: c9199acb61cb65e6abc5f766c8735c774ad5c5e8dc8a4dfa2b6e3e89caa430f34fbe5452dfe97601b9ae3db2c7cab0052e6ca7e4bf2d4a849d0086d2f6a60c4f
6
+ metadata.gz: a94d27b51b0062e591f6288f64b4870c8e8019f296b3c5c7775ae5a09e1f056fc140c8633e000a7566de63758770a5ab79e887cd7e7cb95692e2cdb87388d27d
7
+ data.tar.gz: e78d502e9bf6143ad4a8d9357cb4d7f7303f62e49d091d405b380cca5dd74276a24c4089ef700b71b8bb01ad8bc15b4010cc029f51acc35d7bbd28d9c6aeed6f
data/_data/settings.yml CHANGED
@@ -15,7 +15,14 @@ linaro-footer-image: Linaro-Sprinkle.png
15
15
  # # Breadcrumb Settings
16
16
  # breadcrumb:
17
17
  # image: breadcrumb-image.jpg
18
-
18
+
19
+
20
+ #Content Repo for static site.
21
+ # Used for the edit on github include
22
+
23
+ edit-on-github:
24
+ enabled: true
25
+ repo: https://www.github.com/Linaro/website
19
26
 
20
27
  # Settings for the home page
21
28
  home:
@@ -0,0 +1,40 @@
1
+ {% if site.data.settings.edit-on-github.enabled and site.data.settings.edit-on-github.repo %}
2
+ {% assign page_base = page.permalink | split:"/" %}
3
+
4
+ {% if page_base[1] == "blog" %}
5
+ {% else %}
6
+ {% assign page-path = page.path | replace: " ", "" %}
7
+
8
+
9
+ {% capture github-home %}{{site.data.settings.edit-on-github.repo}}{% endcapture %}
10
+ {% capture github-docs %}{{site.data.settings.edit-on-github.repo}}/tree/master/{% endcapture %}
11
+ {% capture report-issue-link %}
12
+ {{site.data.settings.edit-on-github.repo}}/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}}
13
+ {% endcapture %}
14
+
15
+ {% capture edit-me-link %}{{github-docs}}{{page-path}}{% endcapture %}
16
+
17
+ <div class="container-fluid github-edit">
18
+ <div class="row">
19
+ <div class="container">
20
+ <div class="edit-me-on-github text-center">
21
+ <div class="btn-group btn-group-xs" role="group" id="github_controls">
22
+ <a type="button" href="{{github-home}}" class="btn btn-default github_control_btn btn-buy" id="github_home">
23
+ <i class="icon-github-circled center-block"></i>
24
+ </a>
25
+ <a type="button" href="{{report-issue-link}}" class="btn btn-default github_control_btn btn-buy" id="submit_issue">
26
+ <span class="top-text">Report</span>
27
+ <span class="bottom-text">an Issue</span>
28
+ </a>
29
+ <a type="button" href="{{edit-me-link | replace: " ", "" }}" class="btn btn-default github_control_btn btn-buy" id="edit_on_github">
30
+ <span class="top-text">Edit</span>
31
+ <span class="bottom-text">on Github</span>
32
+ </a>
33
+ </div>
34
+
35
+ </div>
36
+ </div>
37
+ </div>
38
+ </div>
39
+ {% endif %}
40
+ {% endif %}
@@ -6,3 +6,4 @@ layout: full-width
6
6
  </div>
7
7
 
8
8
 
9
+
@@ -15,13 +15,15 @@ js-package: main
15
15
  {% if site.data.footer.include %}
16
16
  {% include {{site.data.footer.include}} %}
17
17
  {% endif %}
18
+
19
+ {% include github-edit.html %}
18
20
 
19
21
  {% if site.data.settings.newsletter.enabled == true %}
20
22
  {% if page.url != "/search/" %}
21
23
  {% include newsletter.html %}
22
24
  {% endif %}
23
25
  {% endif %}
24
-
26
+
25
27
  {% include footer.html %}
26
28
  </div>
27
29
 
data/_layouts/post.html CHANGED
@@ -161,10 +161,10 @@ css-package: blog
161
161
  {% comment %}
162
162
  COMMENTS - Check to see if comments are toggled for this particular post.
163
163
  {% endcomment %}
164
-
164
+
165
165
  {% include post-comments.html %}
166
166
  </div>
167
- <div class="col-md-3 blog-sidebar">
167
+ <div class="col-md-3 blog-sidebar no-padding">
168
168
  {% include post-sidebar.html %}
169
169
  </div>
170
170
  {% else %}
@@ -29,6 +29,69 @@ html {
29
29
  // overflow: hidden; Will break the sticky navbar - be warned
30
30
  }
31
31
 
32
+ // Edit me on github buttons
33
+
34
+ .github-edit {
35
+ background-color: #fff;
36
+ }
37
+
38
+ span.edit-me-on-github-text {
39
+ font-size: 12px;
40
+ }
41
+
42
+ .edit-me-on-github.text-center {
43
+ float: right;
44
+ }
45
+
46
+ i.edit-on-github-icon.icon-github-circled.center-block {
47
+ font-size: 40px;
48
+ }
49
+
50
+
51
+ div#github_controls {
52
+ margin: 10px 0;
53
+ }
54
+ div#github_controls a.btn {
55
+ padding:5px;
56
+ background-color: #fff;
57
+ color: #333;
58
+ padding-left: 15px;
59
+ padding-right: 15px;
60
+
61
+ transition: all 500ms ease;
62
+ }
63
+
64
+ div#github_controls a.btn:hover {
65
+ background-color: #333;
66
+ color: #fff;
67
+ }
68
+ span.top-text {
69
+ display: block;
70
+ font-weight: bold;
71
+ text-transform: uppercase;
72
+ }
73
+ span.bottom-text {
74
+ display: block;
75
+ font-size: 11px;
76
+ }
77
+
78
+ i.icon-github-circled.center-block {
79
+ font-size: 24px;
80
+ }
81
+ div#github_controls a#github_home:hover {
82
+ color: #19947b;
83
+ }
84
+ div#github_controls a#github_home {
85
+ height: 47px;
86
+ background-color: #333;
87
+ color: #fff;
88
+
89
+ transition: all 250ms ease;
90
+ }
91
+
92
+
93
+
94
+
32
95
  blockquote {
33
96
  padding: 10.5px 21px;
34
97
  margin: 0 0 21px;
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.2
4
+ version: 1.4.3.3
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-13 00:00:00.000000000 Z
11
+ date: 2018-02-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -297,6 +297,7 @@ files:
297
297
  - _includes/display-blog-posts.html
298
298
  - _includes/disqus-comments.html
299
299
  - _includes/footer.html
300
+ - _includes/github-edit.html
300
301
  - _includes/google-analytics-script.html
301
302
  - _includes/gtm-noscript.html
302
303
  - _includes/gtm-script.html