kcc-gem-theme 1.60.43 → 1.61.47

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d0b1ec4b6d44bc3f7003b2359294539a1afbd1450bb590cffd8b11d2d65c542d
4
- data.tar.gz: 9320979a2d90569b031e30fa32d4812f4a20e6542d183fac06a11f022d8d3b88
3
+ metadata.gz: f521c8bd7359ab46e0c137f83ebd755a29beaaf14614c40c074108c2b36dfb43
4
+ data.tar.gz: 1535d9258578d70b88a2838a7e70e111950a7f938952ea54f3bdde8627de2b50
5
5
  SHA512:
6
- metadata.gz: d38d61a88233e5cf8ad04adaede6d99d00e4332425ee269717957d4250faa11f40aff037e3e0c64fdf1f03ddc2e7545ab51394a36e3b906ed5944c7ab0858707
7
- data.tar.gz: e04beaee4dad3ae53930b134454486daf20af32c7c7e6ea9d491a8bff1051524e548a83f803353b426bd360b6556a709d4ff4291589736f210d54eb4632453d6
6
+ metadata.gz: 7ae50509955b12fba9925dea8a9f70fbd9b3e09c458c651eea267d1d08b192a39c4f2800de70bec2fc97868ed6e6b32e9726537d211052a83f96c69525b1577a
7
+ data.tar.gz: 11c41e3dd76647dd68347d3c609a3517991d3481ee5ee41423a1c6475c82c7fc48d08417ceaeaac03e89730eaca725b6f35fba739f5254257c4066885d0e097a
@@ -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: ' ', '-'| replace: '&', 'and' %}
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 %}
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,7 +12,7 @@
12
12
  </div>
13
13
  {% else %}
14
14
  <div>
15
- <a {% if slide.url contains 'https://' or slide.url contains 'http:// %}target="_blank" href="{{ slide.url }}"{% elsif url_first_char == '.' or url_first_char == '/' %}href="{{ slide.url }}"{% else %}href="{{ page.baseurl }}{{ slide.url }}{% endif %}"><img src="assets/img/placeholder.png" data-src="{{page.baseurl}}{{slide.image}}" class="img-fluid hero-slider__slider--slide-img {% if slide.white_background %} hero-slider__slide-img--border{% endif %}" alt="{{slide.alt-text}}" /></a>
15
+ <a {% if slide.url contains 'https://' or slide.url contains 'http:// %}target="_blank" href="{{ slide.url }}"{% elsif url_first_char == '.' or url_first_char == '/' %}href="{{ slide.url }}"{% else %}href="{{ page.baseurl }}{{ slide.url }}{% endif %}"><img src="assets/img/kcc-placeholder.png" data-src="{{page.baseurl}}{{slide.image}}" class="img-fluid hero-slider__slider--slide-img {% if slide.white_background %} hero-slider__slide-img--border{% endif %}" alt="{{slide.alt-text}}" /></a>
16
16
  {% if slide.text and slide.text != '' %}<div class="hero-slider__slider--heading-container text-center">
17
17
  <h3 class="hero-slider__slider--slide-heading">{{slide.text}}</h3>
18
18
  </div>{% endif %}
@@ -12,10 +12,14 @@
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="{% if item.link_href contains site_name_lowercase %}{{ page.baseurl }}{% else %}/{{ item.link_href }}{% endif %}">{{ 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 item.link_href contains site_name_lowercase %}
19
+ {% 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 %}
20
+ {% else %}
21
+ {% if link.text != 'dropdown-divider' %}<a class="dropdown-item" href="{% if link.href contains 'http://' or link.href contains 'https://' %}{{ link.href }}{% else %}/{{ item.link_href }}/{{ link.href }}{% endif %}">{{ link.text }}</a>{% else %}<div class="dropdown-divider"></div>{% endif %}
22
+ {% endif %}
19
23
  {% endfor %}
20
24
  </div>
21
25
  </div>
@@ -1,15 +1,20 @@
1
+ <div class="row editor-link">
2
+ <div class="col editor-link mb-3">
3
+ <a href="cloudcannon:collections/_tabs/" class="btn btn-success editor-button">Edit Tabs Collection</a>
4
+ </div>
5
+ </div>
1
6
  <ul class="nav nav-tabs" id="{{ page.title | replace: ' ', '-' | downcase }}" role="tablist">
2
7
  {% assign page_title = page.title %}
3
8
  {% assign tab_collection = site.tabs | where: "tabs_page", page_title | sort: "order" %}
4
9
  {% for tab in tab_collection %}
5
10
  <li class="nav-item">
6
- <a class="nav-link{% if forloop.first == true %} active{% endif %}" id="{{ tab.name | downcase | replace: ' ', '-' }}-tab" data-toggle="tab" href="#{{ tab.name | downcase | replace: ' ', '-' }}" role="tab" aria-controls="{{ tab.name | downcase | replace: ' ', '-' }}" aria-selected="{% if forloop.first == true %}true{% else %}false{% endif %}">{{ tab.name }}</a>
11
+ <a class="nav-link{% if forloop.first == true %} active{% endif %}" id="{{ tab.name | downcase | replace: ' ', '-' | replace: '&', 'and' | remove: '(' | remove: ')' | remove: '!' }}-tab" data-toggle="tab" href="#{{ tab.name | downcase | replace: ' ', '-' | replace: '&', 'and' | remove: '(' | remove: ')' | remove: '!' }}" role="tab" aria-controls="{{ tab.name | downcase | replace: ' ', '-' | replace: '&', 'and' | remove: '(' | remove: ')' | remove: '!' }}" aria-selected="{% if forloop.first == true %}true{% else %}false{% endif %}">{{ tab.name }}</a>
7
12
  </li>
8
13
  {% endfor %}
9
14
  </ul>
10
15
  <div class="tab-content mt-3 px-1" id="{{ page.title | replace: ' ', '-' | downcase }}-content">
11
16
  {% for tab in tab_collection %}
12
- <div class="tab-pane fade{% if forloop.first == true %} show active{% endif %}" id="{{ tab.name | downcase | replace: ' ', '-' }}" role="tabpanel" aria-labelledby="{{ tab.name | downcase | replace: ' ', '-' }}-tab">
17
+ <div class="tab-pane fade{% if forloop.first == true %} show active{% endif %}" id="{{ tab.name | downcase | replace: ' ', '-' | replace: '&', 'and' | remove: '(' | remove: ')' | remove: '!' }}" role="tabpanel" aria-labelledby="{{ tab.name | downcase | replace: ' ', '-' | replace: '&', 'and' | remove: '(' | remove: ')' | remove: '!' }}-tab">
13
18
  {{ tab.content }}
14
19
  </div>
15
20
  {% 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.60.43
4
+ version: 1.61.47
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-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll