jumbo-jekyll-theme 5.5.2 → 5.5.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
  SHA256:
3
- metadata.gz: cddb2c00e4de161cf7d7aeda4a6f1048577c9ff4537b3d225afabb5a67ca409d
4
- data.tar.gz: 0aa114befa8cc62a9042b93cbf0dc6fab86533e9b00c5e450260b35758e7adce
3
+ metadata.gz: ffe28afcc0aeee5769bd3954f0d1c29aacb972915e150af5344bf1884859a727
4
+ data.tar.gz: e54ebee6c074cecaec8d74432ccf0faa16c96a6a968b22a8de9de2de1e12dac6
5
5
  SHA512:
6
- metadata.gz: f077548b07d9628abfa28e00e68900c39fb4557cb3ee3860f309ab99a8e7e4b2fa8ba049f5e4bf5081f05d22a55fb13cbe8d1ae6091223649c81d12f645300cd
7
- data.tar.gz: bb36d8f94ca4082f681c7264c4e8300dd1d573b057373098b05471382e9e89d3281bdccd3209af8d2640e7fc865bf2288efb5691a8a7bfbc287ab30504ea20d1
6
+ metadata.gz: ac00bf6a57b8a9010fc9fe472c78dc49ef23128b1c7176148a8fa3524be372fcd6659d7e0046c7ad45f08ba671f7ba0b139c93bfaa6f6b7607bc2d5024e8b0ca
7
+ data.tar.gz: 14b092ad21c2fcfc4dc7d3c5dee466a93f4f04975d4a0a25b7803fef714cce4540a52704af8a2602424483acd8872c0346991c17b0b6952c23f62306b266b780
data/_config.yml CHANGED
@@ -5,10 +5,10 @@ url: http://jumbojekyll.co.uk
5
5
  baseurl: ""
6
6
  description: |-
7
7
  The Jumbo Jekyll Theme is used across all Linaro static sites.
8
- # Destination of the Jekyll site upon build of site.
8
+ # Destination of the Jekyll site upon build of site.
9
9
  destination: _site
10
10
  # Default permalink for blog posts
11
- permalink: /blog/:title/
11
+ permalink: /blog/:title/
12
12
  # Jumbo Jekyll Theme
13
13
  theme: jumbo-jekyll-theme
14
14
  # Syntax highlighter
@@ -17,6 +17,9 @@ highlighter: rouge
17
17
  blog_images_dir: assets/images/content/
18
18
  # Markdown flavour used by Jekyll to parse markdown.
19
19
  markdown: kramdown
20
+ kramdown:
21
+ input: GFM
22
+ syntax_highlighter: rouge # Syntax highlighter for Kramdown.
20
23
  # Email
21
24
  email: contact@linaro.org
22
25
  # Company Address
@@ -43,36 +46,36 @@ exclude:
43
46
  - jumbo-jekyll-theme*.gemspec
44
47
  # Sass Configuration for the site styles
45
48
  sass:
46
- style: compressed
47
- load_paths:
48
- - assets/css
49
+ style: compressed
50
+ load_paths:
51
+ - assets/css
49
52
  # Compress HTML using the jekyll-tidy plugin.
50
- jekyll_tidy:
51
- # Toggle compression of HTML
52
- compress_html: true
53
- # JS Path added to exclude to stop errors.
54
- exclude: ["assets/**/*.js"]
53
+ jekyll_tidy:
54
+ # Toggle compression of HTML
55
+ compress_html: true
56
+ # JS Path added to exclude to stop errors.
57
+ exclude: ["assets/**/*.js", "robots.txt"]
55
58
  # Permalink style to be used for paginating pages in pagination.html
56
59
  paginate_path: /blog/:num/
57
60
  paginate_path_news: /news/:num/
58
61
  paginate_path_authors: /authors/:num/
59
62
  # Jekyll Pagination V2 Configuration
60
63
  pagination:
61
- # Default pagination path for Jekyll Posts
62
- # For other permalinks set in the front matter of the post index page
63
- permalink: /:num/
64
- # Enabled or not?
65
- enabled: true
66
- # Home many posts to display by default
67
- per_page: 9
68
- # Number of pages to show either side of the current page i.e - 1, 2, {3}, 4, 5
69
- trail:
70
- before: 2
71
- after: 2
72
- # Reverse the order of paginated pages
73
- sort_reverse: true
74
- # Field to sort posts by when paginating
75
- sort_field: 'date'
64
+ # Default pagination path for Jekyll Posts
65
+ # For other permalinks set in the front matter of the post index page
66
+ permalink: /:num/
67
+ # Enabled or not?
68
+ enabled: true
69
+ # Home many posts to display by default
70
+ per_page: 9
71
+ # Number of pages to show either side of the current page i.e - 1, 2, {3}, 4, 5
72
+ trail:
73
+ before: 2
74
+ after: 2
75
+ # Reverse the order of paginated pages
76
+ sort_reverse: true
77
+ # Field to sort posts by when paginating
78
+ sort_field: "date"
76
79
  # Jekyll pagination v2 autopages configuration.
77
80
  autopages:
78
81
  enabled: false
@@ -89,56 +92,60 @@ defaults:
89
92
  values:
90
93
  image: /assets/images/social-media-image.png
91
94
  - scope:
92
- type: posts
95
+ type: posts
93
96
  path: "_posts"
94
97
  values:
95
98
  layout: post
96
99
  is_post: true
97
100
  comments: true
98
101
  - scope:
99
- path: ""
100
- type: "authors"
102
+ path: ""
103
+ type: "authors"
101
104
  values:
102
- layout: author
105
+ layout: author
103
106
  # Jekyll Assets setup
104
107
  assets:
105
- # Compress JS Assets - uses the uglifier
108
+ # Compress JS Assets - uses the uglifier
106
109
  compression: true
110
+ compress:
111
+ js: true
107
112
  gzip: true
108
113
  # Autoprefixer default settings
109
114
  autoprefixer:
110
- browsers: ["last 2 versions","> 5%","IE 9"]
115
+ browsers: ["last 2 versions", "> 5%", "IE 9"]
111
116
  # These are the paths to look for assets
112
117
  sources:
113
118
  - assets/js/
114
119
  - assets/images/
115
- - assets/css/
116
- # Jekyll relative links plugin settings
120
+ - assets/css/
121
+ # Jekyll relative links plugin settings
117
122
  jekyll_relative_links:
118
- process_all_collections: true
119
- verbose: 1
123
+ process_all_collections: true
124
+ verbose: 1
125
+ relative_links:
126
+ enabled: true
127
+ collections: false
120
128
  plugins:
121
- - jekyll-seo-tag
122
- - jekyll-sitemap
123
- - uglifier
124
- - jekyll-assets
125
- - jekyll-theme-assets-updated
126
- - jekyll-tidy
127
- - jekyll-redirect-from
128
- - jekyll-responsive-image
129
- - autoprefixer-rails
130
- - jekyll-paginate-v2
129
+ - jekyll-seo-tag
130
+ - jekyll-sitemap
131
+ - uglifier
132
+ - jekyll-assets
133
+ - jekyll-theme-assets-updated
134
+ - jekyll-tidy
135
+ - jekyll-redirect-from
136
+ - jekyll-responsive-image
137
+ - autoprefixer-rails
138
+ - jekyll-paginate-v2
131
139
  collections:
132
140
  authors:
133
141
  output: true
134
142
  permalink: /author/:name/
135
143
  # Make sure that Liquid errors stop the build
136
144
  liquid:
137
- error_mode: strict
145
+ error_mode: strict
138
146
  readme_index:
139
- enabled: true
140
- remove_originals: false
141
-
147
+ enabled: true
148
+ remove_originals: false
142
149
  # Jeykyll Responsive Image Configuration
143
150
  responsive_image:
144
151
  cache: false
@@ -154,7 +161,7 @@ responsive_image:
154
161
  # An array of resize configuration objects. Each object must contain at least
155
162
  # a `width` value.
156
163
  sizes:
157
- - width: 400 # [Required] How wide the resized image will be.
164
+ - width: 400 # [Required] How wide the resized image will be.
158
165
  quality: 70 # [Optional] Overrides default_quality for this size.
159
166
  - width: 800
160
167
  quality: 70
@@ -200,5 +207,4 @@ responsive_image:
200
207
  - assets/foo/bar.png
201
208
  - assets/bgs/*.png
202
209
  - assets/avatars/*.{jpeg,jpg}
203
-
204
- include: ['_pages']
210
+ include: ["_pages"]
@@ -18,4 +18,4 @@
18
18
  </div>
19
19
  {% endfor %}
20
20
  </div>
21
- </div>
21
+ </div>
data/_includes/nav.html CHANGED
@@ -1,4 +1,6 @@
1
- {% include_cached universal-nav.html %}
1
+ {% if site.data.nav.universal-nav %}
2
+ {% include_cached universal-nav.html %}
3
+ {% endif %}
2
4
  {% assign page_base = include.pageUrl | split: "/" %}
3
5
  {% assign current_page_url = include.pageUrl | replace: "index.html", "" %}
4
6
  {% if current_page_url == "/" %}
@@ -8,12 +8,9 @@
8
8
  "name" : "{{site.data.settings.schema.organisation.name}}",
9
9
  "url" : "{{site.data.settings.schema.organisation.url}}",
10
10
  "sameAs" : [
11
- {% if site.data.settings.twitter_username %}"https://twitter.com/{{site.data.settings.twitter_username}}",{% endif %}
12
- {% if site.data.settings.facebook_username %}"https://www.facebook.com/{{site.data.settings.facebook_username}}",{% endif %}
13
- {% if site.data.settings.linkedin_username %}"https://www.linkedin.com/company/{{site.data.settings.linkedin_username}}",{% endif %}
14
- {% if site.data.settings.google_plus_username %}"https://plus.google.com/{{site.data.settings.google_plus_username}}",{% endif %}
15
- {% if site.data.settings.github_username %}"https://github.com/{{site.data.settings.github_username}}",{% endif %}
16
- {% if site.data.settings.slideshare_username %}"https://www.slideshare.net/{{site.data.settings.slideshare_username}}"{% endif %}
11
+ {% for social_media_channel in site.data.settings.social_media_channels %}
12
+ {{social_media_channel.url}}{% unless forloop.last %},{% endunless%}
13
+ {% endfor %}
17
14
  ],
18
15
  "address": {
19
16
  "@type": "PostalAddress",
@@ -30,7 +27,7 @@
30
27
  "@type": "BlogPosting",
31
28
  "headline": "{{include.included_page.title}}",
32
29
  "image": "{{site.url}}{{include.included_page.image.path}}",
33
- "keywords": "{{include.included_page.keywords}}",
30
+ "keywords": "{{include.included_page.keywords}}",
34
31
  "wordcount": "{{include.included_page.content | number_of_words }}",
35
32
  "url": "{{include.included_page.url}}",
36
33
  "datePublished": "{{include.included_page.date}}",
@@ -43,4 +40,4 @@
43
40
  }
44
41
  {% endif %}
45
42
  ]}
46
- </script>
43
+ </script>
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: 5.5.2
4
+ version: 5.5.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: 2019-07-01 00:00:00.000000000 Z
11
+ date: 2019-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll