jumbo-jekyll-theme 4.0.2 → 4.1.2

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
  SHA256:
3
- metadata.gz: 2115e0b2aaa9bcdb918bec00467da120c2178257d04fac64e34868b111c0915e
4
- data.tar.gz: bdcefd04c9ee8688525209b02978170f65d9122bd0e0a44137d1d2a3298190f3
3
+ metadata.gz: 757c4e3ea702a04eb6ef0a86ae1abc2d161075aac3c548d0aa408209f9873671
4
+ data.tar.gz: 68662d576ea970fb3fc475f1883eacb9732695f7d21743ea91b80c42be479797
5
5
  SHA512:
6
- metadata.gz: 89f8a4b976a5982d77c139350796659f56876390d667ebfa608b3e1467874f2439804f42255ad54253ad9d18411bd68276fc0701779585c724eae880ea191112
7
- data.tar.gz: d45fa8c665bc0e9708c2115b6cb2d237676fc9991a215787c9f01a48845d01f7f9e0d2c0d306f8b49c3a970562cb6ce655cd41d9db849f5b15cc9474730fd18b
6
+ metadata.gz: 1ba9d47d69f1db4ce38e4300af1f62bf2adb24b2e5f9aa9d2c2a21c703509e5c2d28f262c06220e3f70cd30f8d79829ac4cd6949ddc24b714c789f18511be0d8
7
+ data.tar.gz: 1a192ade27ae10885e98594c4b06d2696f8da92779aeb095fdd91944844ff6e0f271a10acca640a984da866f95e69702a269e78682986739cc4b97cae1a0600f
data/README.md CHANGED
@@ -42,6 +42,7 @@ A few of the main features that this theme offers:
42
42
  * Jekyll Assets - providiing minified Javascript/CSS packages.
43
43
  * Jekyll-responsive-image plugin for generating resized images upon site build.
44
44
  * Jekyll-data to override the settings added in this theme.
45
+ * Jekyll-last-modified-at plugin integration - shows the users the date that the current page/post was last updated.
45
46
 
46
47
  ### Available Layouts
47
48
 
@@ -101,7 +102,7 @@ Below are a table showing the available includes for you to use:
101
102
 
102
103
  If you are using a layout that contains `jumbotron` then you can choose to display an image carousel header, standard background image header or a simple breadcrumb.
103
104
 
104
- **Jumbotron Settings**
105
+ #### Jumbotron Settings
105
106
 
106
107
  With the jumbotron layouts you can add a title, sub title and buttons to your header through changing your pages' front matter.
107
108
 
@@ -143,7 +144,7 @@ jumbotron:
143
144
  The above should hopefully be fairly self explanatory other than the icon value which should be the icon class for a Font Awesome 4.7 Icon. For all available icons [click here](https://fontawesome.com/v4.7.0/icons/).
144
145
 
145
146
 
146
- **Displaying an image carousel**
147
+ #### Background Image Carousel
147
148
 
148
149
  If you would like to display an image carousel for your page then add the following front matter to your page:
149
150
 
@@ -163,7 +164,7 @@ jumbotron:
163
164
  Add as many images here as you would like. Even though these images are loaded lazily, try and make sure the images have been optimized as large images will increase the page load time. Also try to ensure the resolution of these images are fairly high.
164
165
 
165
166
 
166
- **Displaying an background image based jumbotron**
167
+ #### Background Image
167
168
 
168
169
  ```yaml
169
170
  ---
@@ -178,7 +179,38 @@ jumbotron:
178
179
  Here you can add image to be used an the background image of the jumbotron. Try and make sure the image has been compressed/optimized as large images will increase the page load time. Also try to ensure the resolution of these images are fairly high.
179
180
 
180
181
 
182
+ #### Slider Jumbotron
181
183
 
184
+ You can add an owl carousel based jumbotron using the following front matter settings:
185
+
186
+ ```yaml
187
+ ---
188
+ jumbotron:
189
+ slider:
190
+ slides:
191
+ # Title of your Slide
192
+ - title: Accelerating deployment of Arm-based solutions
193
+ # CSS class for your slide title - not required.
194
+ title-class: big-title
195
+ # Slide inline style="" settings - useful for setting background positions
196
+ slide-style: "background-position-y: bottom;"
197
+ # Adds the overlay class to slide
198
+ darken: true
199
+ # The path to the image you'd like to use for the slide
200
+ image: https://www.linaro.org/assets/images/content/hkg18-tech-banner.jpg
201
+ - title: Industry leaders to present Open Source on Arm insights at Linaro Connect Bangkok 2019
202
+ description: Linaro Ltd, the open source collaborative engineering organization developing software for the Arm® ecosystem, announced today the keynote speakers for Linaro Connect Bangkok 2019.
203
+ darken: true
204
+ slide-style: "background-position-y: bottom;"
205
+ image: https://staging.linaro.org/assets/images/content/bkk19-website-banner.png
206
+ # Adds buttons as <a href="URL" class="btn btn-primary">TITLE</a> after the description
207
+ buttons:
208
+ - title: Learn more
209
+ url: https://www.linaro.org/news/industry-leaders-to-present-open-source-on-arm-insights-at-linaro-connect-bangkok-2019/
210
+ ---
211
+ ```
212
+
213
+ __Note__: The /assets/js/app/main.js theme file must be included since this instantiates the owl carousel if it exists.
182
214
 
183
215
  # Adding Content
184
216
  ## Adding Pages
@@ -2,6 +2,14 @@
2
2
  <section class="disqus">
3
3
  <div id="disqus_thread"></div>
4
4
  <script type="text/javascript">
5
+ var disqus_config = function () {
6
+ this.page.url = "{{site.url}}{{page.url}}"; // Replace PAGE_URL with your page's canonical URL variable
7
+ this.page.identifier = "{{page.url}}"; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
8
+ this.callbacks.onNewComment = [function (comment) {
9
+ console.log(comment.id);
10
+ console.log(comment.text);
11
+ }];
12
+ };
5
13
  var disqus_shortname = '{{ site.data.settings.disqus.shortname }}';
6
14
  var disqus_developer = 0; // developer mode is on
7
15
  (function() {
@@ -19,6 +19,13 @@
19
19
  </div>
20
20
  {% endif %}
21
21
  </div>
22
+ {% unless page.hide_last_modified %}
23
+ <div class="row">
24
+ <div class="col-xs-12 no-padding">
25
+ <span class="last-modified-at">Page last modified on {{ page.last_modified_at | date: '%A, %B %-d, %Y' }}</span>
26
+ </div>
27
+ </div>
28
+ {% endunless %}
22
29
  <div class="row footer-strip">
23
30
  <div class="container no-padding">
24
31
  <div class="col-md-6 company-footer-bottom">
data/_layouts/base.html CHANGED
@@ -16,7 +16,7 @@ js-package: main
16
16
  {% include {{site.data.footer.include}} %}
17
17
  {% endif %}
18
18
  {% include github-edit.html %}
19
- {% include_cached footer.html %}
19
+ {% include footer.html %}
20
20
  </div>
21
21
  </div>
22
22
  {% include javascript.html %}
@@ -798,4 +798,8 @@ body::-webkit-scrollbar-track {
798
798
  }
799
799
  body::-webkit-scrollbar-thumb {
800
800
  background-color: $brand-primary;
801
+ }
802
+ span.last-modified-at {
803
+ color: $footer-text-color;
804
+ font-size: 14px;
801
805
  }
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: 4.0.2
4
+ version: 4.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-08 00:00:00.000000000 Z
11
+ date: 2019-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -226,6 +226,20 @@ dependencies:
226
226
  - - ">="
227
227
  - !ruby/object:Gem::Version
228
228
  version: '0'
229
+ - !ruby/object:Gem::Dependency
230
+ name: jekyll-last-modified-at
231
+ requirement: !ruby/object:Gem::Requirement
232
+ requirements:
233
+ - - ">="
234
+ - !ruby/object:Gem::Version
235
+ version: '0'
236
+ type: :runtime
237
+ prerelease: false
238
+ version_requirements: !ruby/object:Gem::Requirement
239
+ requirements:
240
+ - - ">="
241
+ - !ruby/object:Gem::Version
242
+ version: '0'
229
243
  - !ruby/object:Gem::Dependency
230
244
  name: hash-joiner
231
245
  requirement: !ruby/object:Gem::Requirement