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.
- checksums.yaml +4 -4
- data/_includes/tabbed-content.html +10 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 060b5fd0b884343b78863235df84f6845fe3f159f29638d2be48090ec5a478d9
|
4
|
+
data.tar.gz: 011cdde311196093e6880f2377dc76e57bad80b3186e84aff4424c7ee5371744
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
{%
|
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
|
-
{%
|
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.
|
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-
|
11
|
+
date: 2024-11-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|