swedbank-pay-design-guide-jekyll-theme 1.8 → 1.8.1

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: f57da44f36098220148d4eb99c223c18ee561ddd9de7525598ecadbad350032b
4
- data.tar.gz: f7b47697a6b3aaf102e7ffa7a16309ae1afbc8045f1ce8d4014da83894011f0d
3
+ metadata.gz: 0a1983ca9e2e623d45572e71e44d145376ad1ea114526c130de81ddcbc58546d
4
+ data.tar.gz: c6403598ba456a0008c4e1d2545379faf4df3ad7c602c340efcf56b58d722d74
5
5
  SHA512:
6
- metadata.gz: 287ed527957eeb2e96fae0e305c6f060e1f1027a61f4ed592842c60eabb5d7feb19676ee1080a137526a5e23cf020a2deb749a7952eb502379e7621cfbff4112
7
- data.tar.gz: 1729df6cf6f02226c310ce3e7ee0168b8718919a63b8d253bb6b907b4d3c7c90569246f688f073b85764d607819938285a86e991e38368a7fe7bfa264b84079e
6
+ metadata.gz: d43cbc52a6b2015129e380a6dea2b4435eb6819be17af50094ce1cfe694d172759f7bc4b6371822854480c20b1a5559ed347970a1e77a7f616b6dfd1c6196f03
7
+ data.tar.gz: d8caa50f52475c619eefc3f96ae3e0985bf71dfde786e68f5b16031c5173cdb1fe5f8833a7bdb82bbee09b77b6bd535308bddf55f756acfaafb8f2507fae3a21
@@ -19,7 +19,7 @@ Original creator: https://sebnitu.com/2016/10/13/dynamic-menus-in-jekyll/
19
19
  {% endif %}
20
20
 
21
21
  <ul class="main-nav-ul">
22
- {% assign pages = site.pages | sort: 'menu-order' %}
22
+ {% assign pages = site.pages | sort: 'menu_order' %}
23
23
  {% for node in pages %}
24
24
  {% assign node_parts = node.url | split: '/' %}
25
25
  {% assign node_depth = node_parts | size %}
@@ -113,4 +113,3 @@ Original creator: https://sebnitu.com/2016/10/13/dynamic-menus-in-jekyll/
113
113
  </ul>
114
114
  </nav>
115
115
  </div>
116
-
@@ -4,7 +4,7 @@ module Gem
4
4
  # Gem Specification
5
5
  class Specification
6
6
  def self.gem_version
7
- '1.8'
7
+ '1.8.1'
8
8
  end
9
9
  end
10
10
  end
@@ -5,6 +5,7 @@ require 'nokogiri'
5
5
  require 'json'
6
6
 
7
7
  module Jekyll
8
+ # A nice sidebar
8
9
  class Sidebar
9
10
  attr_accessor :hash_pre_render
10
11
  attr_accessor :filename_with_headers
@@ -15,7 +16,7 @@ module Jekyll
15
16
  end
16
17
 
17
18
  def pre_render(page)
18
- menu_order = page['menu-order'].nil? ? 0 : page['menu-order']
19
+ menu_order = page['menu_order'].nil? ? 0 : page['menu_order']
19
20
  hide_from_sidebar = page['hide_from_sidebar'].nil? ? false : page['hide_from_sidebar']
20
21
  url = page['url'].gsub('index.html', '').gsub('.html', '')
21
22
  @hash_pre_render[url] = {
@@ -72,6 +73,7 @@ module Jekyll
72
73
 
73
74
  def generateSubgroup(filename, key, value, all_subgroups, level)
74
75
  title = value[:title].split('–').last
76
+
75
77
  subsubgroup_list = all_subgroups.select do |subsubgroup_key, _subsubgroup_value|
76
78
  subsubgroup_key.include? key and subsubgroup_key != key and \
77
79
  key.split('/').length > level
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swedbank-pay-design-guide-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: '1.8'
4
+ version: 1.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swedbank Pay
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-15 00:00:00.000000000 Z
11
+ date: 2020-09-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday