kcc-gem-theme 1.70.71 → 1.70.73
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 +4 -4
- data/_includes/accordion.html +5 -8
- data/_includes/tabbed-content.html +4 -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: 87aa1aa0ee69ad11909f3815ac1bfe2954f3ee4c2631bddb3d440ece1236d610
|
4
|
+
data.tar.gz: d0139732f8ca154e5e08dbf20737bff070f940a78873ed0ff24eb39e61afb986
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2c68b3018b74e332f3b140be2ba581342e1bd177471ae291a9702f688d212a9fddf963f3c0e8a42e4ad1cea8bb2836e24c2aacfa5518f487a17cbab1f2d9b5a
|
7
|
+
data.tar.gz: 6adcc77dae98894f57d2bae0d7ae907ad0287a04b02293bdd06ed8626db67a11d3ebcb33d9bf469ff21fbfee14f1b602a34cbce21a572a2be564d3d960017d19
|
data/_includes/accordion.html
CHANGED
@@ -9,27 +9,24 @@
|
|
9
9
|
{% for item in accordion_collection %}
|
10
10
|
{% assign this_accordion_id = item.card_heading | downcase | remove: '-' | replace: '&', 'and' | replace: ' ', '-' | remove: "'" | replace: "/", "-" | 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: '©' %}
|
11
11
|
<div class="card">
|
12
|
-
<div class="card-header px-0"
|
13
|
-
id="card-header-{{ this_accordion_id }}">
|
12
|
+
<div class="card-header px-0" id="card-header-{{ this_accordion_id }}">
|
14
13
|
<h2 class="mb-0 accordion__typography--card-header accordion__typography--hover">
|
15
14
|
<button
|
16
15
|
class="btn btn-link buttons__no-decoration accordion__button{% if forloop.first != true %} collapsed{% endif %}{% if forloop.first == true and page.accordion_expanded == false %} collapsed{% endif %}"
|
17
|
-
type="button"
|
18
|
-
data-target="#{{ this_accordion_id }}"
|
19
|
-
data-toggle="collapse"
|
16
|
+
type="button" data-target="#{{ this_accordion_id }}" data-toggle="collapse"
|
20
17
|
aria-expanded="{% if forloop.first == true and page.accordion_expanded != false %}true{% else %}false{% endif %}"
|
21
18
|
aria-controls="{{ this_accordion_id }}">
|
22
19
|
{{ item.card_heading }}
|
23
20
|
</button>
|
24
21
|
</h2>
|
25
22
|
</div>
|
26
|
-
<div
|
27
|
-
id="{{ this_accordion_id }}"
|
23
|
+
<div id="{{ this_accordion_id }}"
|
28
24
|
class="collapse{% if forloop.first == true and page.accordion_expanded != false %} show{% endif %}"
|
29
25
|
aria-labelledby="card-header-{{ this_accordion_id }}">
|
30
26
|
<div class="card-body">
|
31
27
|
<!-- Editor Link -->
|
32
|
-
<a href="cloudcannon:collections/{{ item.path }}" class="btn btn-success mb-4 editor-button">Edit This Accordion
|
28
|
+
<a href="cloudcannon:collections/{{ item.path }}" class="btn btn-success mb-4 editor-button">Edit This Accordion
|
29
|
+
Item</a>
|
33
30
|
|
34
31
|
{{ item.content }}
|
35
32
|
</div>
|
@@ -7,14 +7,16 @@
|
|
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: '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
11
|
<li class="nav-item">
|
11
|
-
<a class="nav-link{% if forloop.first == true %} active{% endif %}" id="{{
|
12
|
+
<a class="nav-link{% if forloop.first == true %} active{% endif %}" id="{{ tab_id }}-tab" data-toggle="tab" href="#{{ tab_id }}" role="tab" aria-controls="{{ tab_id }}" aria-selected="{% if forloop.first == true %}true{% else %}false{% endif %}">{{ tab.name }}</a>
|
12
13
|
</li>
|
13
14
|
{% endfor %}
|
14
15
|
</ul>
|
15
16
|
<div class="tab-content mt-3 px-1" id="{{ page.title | replace: ' ', '-' | downcase }}-content">
|
16
17
|
{% for tab in tab_collection %}
|
17
|
-
|
18
|
+
{% assign tab_id = tab.name | downcase | remove: '-' | replace: '&', 'and' | replace: ' ', '-' | remove: "'" | replace: "/", "-" | 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: '©' %}
|
19
|
+
<div class="tab-pane fade{% if forloop.first == true %} show active{% endif %}" id="{{ tab_id }}" role="tabpanel" aria-labelledby="{{ tab_id }}-tab">
|
18
20
|
{{ tab.content }}
|
19
21
|
</div>
|
20
22
|
{% endfor %}
|
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: 1.70.
|
4
|
+
version: 1.70.73
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- wdzajicek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-12-
|
11
|
+
date: 2020-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|