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 +4 -4
- data/README.md +35 -3
- data/_includes/disqus-comments.html +8 -0
- data/_includes/footer.html +7 -0
- data/_layouts/base.html +1 -1
- data/_sass/core/theme.scss +4 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 757c4e3ea702a04eb6ef0a86ae1abc2d161075aac3c548d0aa408209f9873671
|
4
|
+
data.tar.gz: 68662d576ea970fb3fc475f1883eacb9732695f7d21743ea91b80c42be479797
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
-
|
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
|
-
|
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() {
|
data/_includes/footer.html
CHANGED
@@ -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
data/_sass/core/theme.scss
CHANGED
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.
|
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-
|
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
|