swedbank-pay-design-guide-jekyll-theme 1.10.2 → 1.10.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0313a936558f1d9483dd29f0636949f9f3eb5c8263701c4af3291ec3a5491c79
4
- data.tar.gz: 511a457f131d281be6ab7aa09d948165447934f1650f6772b21a7d0359741374
3
+ metadata.gz: 107fe32dcdd6919798c50bc86a8933442abadabf1120a24b6dfbbcf634e427b3
4
+ data.tar.gz: 0f1c6521f1eded78dfef148a0f17537c2cacdcadb2eb7a344060fac494257a51
5
5
  SHA512:
6
- metadata.gz: da69fbde94da93cace5878549900091b90f393796cd41d2a4be70475173213527887af1b3d6ee0bef5eb10a01bddb0915c2260bc485ac59e079e945c32e5d423
7
- data.tar.gz: 2613242b86b6758db6d413f8cc8bd82281b6275b64c1ca8bf4a263b95b0ecc6a079641ecc7a77624acf55fd2ab0fe84bd695341ebe2d9e0d6fa3b2f95ad8c2eb
6
+ metadata.gz: 6aaac38681e036d6e1a3db0e0919a02cf89f47d3db876a85d67142219a44fd129698a4f69ff9ee63d6b13798248ea185ba4df8e0bb67429f2f50a1a345aa6522
7
+ data.tar.gz: 3dc72e03582095cb5ea5721bf1b63d63a1827f51282623035124eb875cfd4ca23a0d89a889a7186a6000b5317b1bd8e7a80cf777ef5c69b54a4ad183e4926dea
@@ -7,10 +7,14 @@ type: sdk | module - Empty type result in default card styling
7
7
  col_class(required): Describes what grid column class(es) each card should be wrapped in
8
8
  {%- endcomment -%}
9
9
 
10
+ {% assign cards = include.card_list | default: page.children %}
11
+ {% assign col_class = include.col_class | default: 'col-lg-4' %}
12
+
10
13
  <div class="row card-list">
11
- {% for card in include.card_list %}
14
+ {% for card in cards %}
12
15
  {% assign title = card.title | split: '–' | last %}
13
- {% assign link_to = card.extensionless_path | default: card.url %}
16
+ {% assign link_to = card.absolute_path | default: card.url %}
17
+
14
18
  {% assign card_type = card.card.type | default: card.card_type | default: include.type %}
15
19
  {% assign icon_content = card.card.icon.content | default: card.icon.content %}
16
20
  {% assign icon_outlined = card.card.icon.outlined | default: card.icon.outlined %}
@@ -19,7 +23,7 @@ col_class(required): Describes what grid column class(es) each card should be wr
19
23
  {% assign horizontal = card.card.horizontal | default: false %}
20
24
  {% assign disabled = card.card.disabled | default: card.disabled %}
21
25
 
22
- <div class="{{ include.col_class }}">
26
+ <div class="{{ col_class }}">
23
27
  {% include card.html
24
28
  title=title
25
29
  text=card.description
data/lib/gem_version.rb CHANGED
@@ -4,7 +4,7 @@ module Gem
4
4
  # Gem Specification
5
5
  class Specification
6
6
  def self.gem_version
7
- '1.10.2'
7
+ '1.10.3'
8
8
  end
9
9
  end
10
10
  end
data/lib/sidebar_page.rb CHANGED
@@ -115,6 +115,7 @@ module SwedbankPay
115
115
  @jekyll_page.data['lead_title'] = @title.lead
116
116
  @jekyll_page.data['main_title'] = @title.main
117
117
  @jekyll_page.data['children'] = @children
118
+ @jekyll_page.data['absolute_path'] = @path
118
119
  end
119
120
 
120
121
  def save
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.10.2
4
+ version: 1.10.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swedbank Pay
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-14 00:00:00.000000000 Z
11
+ date: 2021-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday