kcc-gem-theme 1.65.57 → 1.65.58
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/_data/navigation.yml +13 -7
- data/_includes/accordion.html +24 -16
- data/_layouts/markdown.html +1 -1
- 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: ea1b14c125c24b270ffff765cc90d9687654045bfd294ef727662bf3e9b01407
|
4
|
+
data.tar.gz: f34f03123fd98cf96633dc7982e747e7976dfd09cc3a860e500b9b036606ae08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 862f13a4e7ee377015c58980e73411887930bd6b87ef10d492cccbe36b4b7bea7510f005ad30976fae2ae8a1222c9d34cc57e53dc373c6cbd56893582d803d19
|
7
|
+
data.tar.gz: bee2762ab55995d3c62302568caef63c1cd7fa12792c1fcd024a40c3b32d3b5eecfdf888f059e713f2569a6c64edfd547deeae649413ba7fe60f4a3f55de25c4
|
data/_data/navigation.yml
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
- link_text:
|
2
|
-
link_href: '
|
1
|
+
- link_text: Academics
|
2
|
+
link_href: 'academics'
|
3
3
|
image:
|
4
4
|
source: 'assets/img/e-tech_a-roberts_mar2016_D41_6690.jpg'
|
5
5
|
alt: 'Student working in an electrical technology lab'
|
@@ -37,15 +37,21 @@
|
|
37
37
|
- text: 'College Credit in High School'
|
38
38
|
href: 'college-credit'
|
39
39
|
- link_text: Tuition & Aid
|
40
|
-
link_href: tuition-and-aid
|
41
40
|
image:
|
42
41
|
source: 'assets/img/fafsa-early-bird-banner-18.jpg'
|
43
42
|
alt: 'The early bird gets the money. FAFSA available Oct. 1. Apply at fafsa.gov. More details and workshop info at www.kcc.edu/finaid'
|
44
43
|
dropdown:
|
45
|
-
- text:
|
46
|
-
href: '
|
47
|
-
- text:
|
48
|
-
href: '
|
44
|
+
- text: Action
|
45
|
+
href: '#'
|
46
|
+
- text: Another action
|
47
|
+
href: '#'
|
48
|
+
- text: Another action
|
49
|
+
href: '#'
|
50
|
+
- text: Another action
|
51
|
+
href: '#'
|
52
|
+
- text: dropdown-divider
|
53
|
+
- text: Something else here
|
54
|
+
href: '#'
|
49
55
|
- link_text: Student Resources
|
50
56
|
image:
|
51
57
|
source: 'assets/img/DSC_5650_helpful.jpg'
|
data/_includes/accordion.html
CHANGED
@@ -3,26 +3,34 @@
|
|
3
3
|
<a href="cloudcannon:collections/_accordions/" class="btn btn-success editor-button">Edit Accordions Collection</a>
|
4
4
|
</div>
|
5
5
|
</div>
|
6
|
-
<div id="accordion" class="accordion">
|
7
|
-
{% assign page_title = page.title
|
8
|
-
{% assign
|
9
|
-
{% assign accordion_collection = site.accordions | sort: "order" %}
|
6
|
+
<div id="accordion" class="accordion pt-2 pb-3 mb-3">
|
7
|
+
{% assign page_title = page.title %}
|
8
|
+
{% assign accordion_collection = site.accordions | where: "accordion_page", page_title | sort: "order" %}
|
10
9
|
{% for item in accordion_collection %}
|
11
|
-
{%
|
10
|
+
{% assign this_accordion_id = item.card_heading | downcase | remove: '-' | replace: '&', 'and' | replace: ' ', '-' | remove: "'" | 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: ',' %}
|
12
11
|
<div class="card">
|
13
|
-
<div class="card-header accordion__padding-left"
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
12
|
+
<div class="card-header accordion__padding-left"
|
13
|
+
id="card-header-{{ this_accordion_id }}">
|
14
|
+
<h2 class="mb-0 accordion__typography--card-header accordion__typography--hover">
|
15
|
+
<button
|
16
|
+
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"
|
20
|
+
aria-expanded="{% if forloop.first == true and page.accordion_expanded != false %}true{% else %}false{% endif %}"
|
21
|
+
aria-controls="{{ this_accordion_id }}">
|
22
|
+
{{ item.card_heading }}
|
23
|
+
</button>
|
24
|
+
</h2>
|
19
25
|
</div>
|
20
|
-
<div
|
21
|
-
|
22
|
-
|
23
|
-
|
26
|
+
<div
|
27
|
+
id="{{ this_accordion_id }}"
|
28
|
+
class="collapse{% if forloop.first == true and page.accordion_expanded != false %} show{% endif %}"
|
29
|
+
aria-labelledby="card-header-{{ this_accordion_id }}">
|
30
|
+
<div class="card-body">
|
31
|
+
{{ item.content }}
|
32
|
+
</div>
|
24
33
|
</div>
|
25
34
|
</div>
|
26
|
-
{% endif %}
|
27
35
|
{% endfor %}
|
28
36
|
</div>
|
data/_layouts/markdown.html
CHANGED
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.65.
|
4
|
+
version: 1.65.58
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- wdzajicek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-08-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|