kcc-gem-theme 3.10.5 → 3.10.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/tabbed-content.html +10 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cda60bfea9b325332a7fbdc850cc487063fcff3f64f0613dd036ad0a9589496e
4
- data.tar.gz: d5907725d8be455b37bfb23dcb913efa934625e27f8f02f54272d42921a4166d
3
+ metadata.gz: 060b5fd0b884343b78863235df84f6845fe3f159f29638d2be48090ec5a478d9
4
+ data.tar.gz: 011cdde311196093e6880f2377dc76e57bad80b3186e84aff4424c7ee5371744
5
5
  SHA512:
6
- metadata.gz: ada4a31d7d33b85f9d6d7635cc17d18855264261cac4c85221f2644304b6018399b07a6dd9fd3aec32c7cab6f4d388aa1d16bd82696445174b8cd7e0f4fe7d60
7
- data.tar.gz: 1d92e11b1269958c76dea76607c7cb9f7b7d5b0a2939fa5b809e9ebde35bab71a617c8307ad859beebb3066b8c21742dfd752df2a4d6647b4f89bff6417d7eb3
6
+ metadata.gz: ef91f98f96ca1908efff0d1928d91f77ae195fa628f02ebdc481875d4c35cdba567ab438fbd513ab91794350d90b2339abb9024062971398351a0e67e06f7ab5
7
+ data.tar.gz: b3f1d06fda7af5c519de203b9c759caaa71735d4685f0dfd224d9f37ba4e2edb540619a7a7f04ea1d0a822ac29f7628a72152841f173b88df3ec9860fc8905ce
@@ -7,7 +7,11 @@
7
7
  {% assign page_title = page.title %}
8
8
  {% assign tab_collection = site.tabs | where: "tabs_page", page_title | sort: "order" %}
9
9
  {% for tab in tab_collection %}
10
- {% assign tab_id = tab.name | downcase | remove: '-' | replace: '&', 'and' | replace: ' ', '-' | remove: "'" | replace: "/", "-" | remove: '’' | remove: '0' | remove: '1' | remove: '2' | remove: '3' | remove: '4' | remove: '5' | remove: '6' | remove: '7' | remove: '8' | remove: '9' | remove: '?' | remove: '!' | remove: '#' | remove: '$' | remove: '.' | remove: ',' | remove: '(' | remove: ')' | remove: '®' | remove: '©' %}
10
+ {% if tab.alternate_id %}
11
+ {% assign tab_id = tab.alternate_id %}
12
+ {% else %}
13
+ {% assign tab_id = tab.name | downcase | remove: '-' | replace: '&', 'and' | replace: ' ', '-' | remove: "'" | replace: "/", "-" | remove: '’' | remove: '0' | remove: '1' | remove: '2' | remove: '3' | remove: '4' | remove: '5' | remove: '6' | remove: '7' | remove: '8' | remove: '9' | remove: '?' | remove: '!' | remove: '#' | remove: '$' | remove: '.' | remove: ',' | remove: '(' | remove: ')' | remove: '®' | remove: '©' %}
14
+ {% endif %}
11
15
  <li class="nav-item">
12
16
  <a class="nav-link{% if forloop.first == true %} active{% endif %}" id="{{ tab_id }}-label" data-bs-toggle="tab" href="#{{ tab_id }}" role="tab" aria-controls="{{ tab_id }}" aria-selected="{% if forloop.first == true %}true{% else %}false{% endif %}">{{ tab.name }}</a>
13
17
  </li>
@@ -15,7 +19,11 @@
15
19
  </ul>
16
20
  <div class="tab-content mt-3 px-1" id="{{ page.title | replace: ' ', '-' | downcase }}-content">
17
21
  {% for tab in tab_collection %}
18
- {% assign tab_id = tab.name | downcase | remove: '-' | replace: '&', 'and' | replace: ' ', '-' | remove: "'" | replace: "/", "-" | remove: '’' | remove: '0' | remove: '1' | remove: '2' | remove: '3' | remove: '4' | remove: '5' | remove: '6' | remove: '7' | remove: '8' | remove: '9' | remove: '?' | remove: '!' | remove: '#' | remove: '$' | remove: '.' | remove: ',' | remove: '(' | remove: ')' | remove: '®' | remove: '©' %}
22
+ {% if tab.alternate_id %}
23
+ {% assign tab_id = tab.alternate_id %}
24
+ {% else %}
25
+ {% assign tab_id = tab.name | downcase | remove: '-' | replace: '&', 'and' | replace: ' ', '-' | remove: "'" | replace: "/", "-" | remove: '’' | remove: '0' | remove: '1' | remove: '2' | remove: '3' | remove: '4' | remove: '5' | remove: '6' | remove: '7' | remove: '8' | remove: '9' | remove: '?' | remove: '!' | remove: '#' | remove: '$' | remove: '.' | remove: ',' | remove: '(' | remove: ')' | remove: '®' | remove: '©' %}
26
+ {% endif %}
19
27
  <div class="tab-pane fade links__offset{% if forloop.first == true %} show active{% endif %}" id="{{ tab_id }}" role="tabpanel" aria-labelledby="{{ tab_id }}-label">
20
28
  {{ tab.content }}
21
29
  </div>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kcc-gem-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.10.5
4
+ version: 3.10.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - wdzajicek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-20 00:00:00.000000000 Z
11
+ date: 2024-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll