kcc-gem-theme 1.60.43 → 1.60.44

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: d0b1ec4b6d44bc3f7003b2359294539a1afbd1450bb590cffd8b11d2d65c542d
4
- data.tar.gz: 9320979a2d90569b031e30fa32d4812f4a20e6542d183fac06a11f022d8d3b88
3
+ metadata.gz: 5bbd605b0eae6cf77f1bcec75d23c84cc389275f9adf30f20481c10fcf5dd2e7
4
+ data.tar.gz: 391c28b495b7aef21c75061c16ef448005254b578f3549c99646257ec4b49bb2
5
5
  SHA512:
6
- metadata.gz: d38d61a88233e5cf8ad04adaede6d99d00e4332425ee269717957d4250faa11f40aff037e3e0c64fdf1f03ddc2e7545ab51394a36e3b906ed5944c7ab0858707
7
- data.tar.gz: e04beaee4dad3ae53930b134454486daf20af32c7c7e6ea9d491a8bff1051524e548a83f803353b426bd360b6556a709d4ff4291589736f210d54eb4632453d6
6
+ metadata.gz: b9d89aaf303bfe1887312641acbd434aa22e583c123eb4b3c357b2a452733907929afde0d43f058b25130f92c7a131356785831134b3cf4a88690ef047154189
7
+ data.tar.gz: 0034e7228f873c1261b4bf118c26d9e69772c52de7c42b8f0c6f62d0b93c3f1f2178a7b0420ab3c42412110ab74a19ebc19eb9a78ec83b61df87627dd3a810ca
@@ -37,21 +37,15 @@
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
40
41
  image:
41
42
  source: 'assets/img/fafsa-early-bird-banner-18.jpg'
42
43
  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'
43
44
  dropdown:
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: '#'
45
+ - text: Financial Aid
46
+ href: 'financial-aid'
47
+ - text: Net Price Calculator
48
+ href: 'net-price-calculator'
55
49
  - link_text: Student Resources
56
50
  image:
57
51
  source: 'assets/img/DSC_5650_helpful.jpg'
@@ -4,9 +4,11 @@
4
4
  </div>
5
5
  </div>
6
6
  <div id="accordion" class="accordion">
7
- {% assign page_title = page.title %}
8
- {% assign accordion_collection = site.accordions | where: "accordion_page", page_title | sort: "order" %}
7
+ {% assign page_title = page.title | downcase | replace: ' ', '-' %}
8
+ {% assign site_categories = site.categories %}
9
+ {% assign accordion_collection = site.accordions | sort: "order" %}
9
10
  {% for item in accordion_collection %}
11
+ {% if item.path contains page_title %}{% comment %}{% endcomment %}
10
12
  <div class="card">
11
13
  <div class="card-header accordion__padding-left" id="card-header-{{ item.card_heading | downcase | replace: '-', '' | replace: '&', 'and' | replace: ' ', '-' | replace: "'", "" }}">
12
14
  <h2 class="mb-0 accordion__typography--card-header accordion__typography--hover">
@@ -21,5 +23,6 @@
21
23
  </div>
22
24
  </div>
23
25
  </div>
26
+ {% endif %}
24
27
  {% endfor %}
25
28
  </div>
@@ -12,10 +12,10 @@
12
12
  {% endif %}
13
13
  <div class="col ml-lg-1">
14
14
  {% if item.link_href %}
15
- {% assign site_name_lowercase = site.site_name | downcase %}
16
- <a class="dropdown-item typography__dropdown--category" href="{% if item.link_href contains site_name_lowercase %}{{ page.baseurl }}{% else %}{{ page.baseurl }}{{ item.link_href }}{% endif %}">{{ item.link_text }}</a>{% endif %}
15
+ {% assign site_name_lowercase = site.site_name | downcase | replace: ' ', '-' | replace: '&', 'and' %}
16
+ <a class="dropdown-item typography__dropdown--category" href="/{{ item.link_href }}">{{ item.link_text }}</a>{% endif %}
17
17
  {% for link in item.dropdown %}
18
- {% if link.text != 'dropdown-divider' %}<a class="dropdown-item" href="{% if link.href contains 'http://' or link.href contains 'https://' %}{{ link.href }}{% else %}{{ page.baseurl }}{{ link.href }}{% endif %}">{{ link.text }}</a>{% else %}<div class="dropdown-divider"></div>{% endif %}
18
+ {% if link.text != 'dropdown-divider' %}<a class="dropdown-item" href="{% if link.href contains 'http://' or link.href contains 'https://' %}{{ link.href }}{% elsif item.link_href contains site_name_lowercase %}{{ page.baseurl }}{{ link.href }}{% else %}/{{ item.link_href }}/{{ link.href }}{% endif %}">{{ link.text }}</a>{% else %}<div class="dropdown-divider"></div>{% endif %}
19
19
  {% endfor %}
20
20
  </div>
21
21
  </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: 1.60.43
4
+ version: 1.60.44
5
5
  platform: ruby
6
6
  authors:
7
7
  - wdzajicek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-18 00:00:00.000000000 Z
11
+ date: 2020-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll