kcc-gem-theme 1.65.61 → 1.65.62

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.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/_data/cache_bust_css.yml +1 -1
  3. data/_data/navigation.yml +64 -50
  4. data/_data/theme_hash.yml +1 -1
  5. data/_includes/body.html +10 -8
  6. data/_includes/card-section.html +24 -25
  7. data/_includes/contacts.html +90 -90
  8. data/_includes/document-head.html +5 -3
  9. data/_includes/emergency-alerts.html +21 -21
  10. data/_includes/foot.html +1 -1
  11. data/_includes/footer.html +306 -163
  12. data/_includes/header-global.html +49 -25
  13. data/_includes/hero-slider.html +29 -23
  14. data/_includes/nav-global-bottom.html +45 -30
  15. data/_includes/nav-global-top.html +19 -14
  16. data/_includes/scripts/custom.html +2 -2
  17. data/_includes/scripts/emergency-alerts.html +2 -2
  18. data/_includes/scripts/google-api.html +2 -2
  19. data/_includes/scripts/google-noscript.html +5 -2
  20. data/_includes/scripts/google-tag.html +23 -24
  21. data/_includes/scripts/kcc-alerts.html +2 -2
  22. data/_includes/scripts/kcc-mega-nav.html +2 -2
  23. data/_includes/scripts/kcc-theme.html +2 -2
  24. data/_includes/scripts/translate.html +11 -11
  25. data/_includes/scripts/vendor-cdn.html +1 -1
  26. data/_includes/styles/fonts.html +2 -9
  27. data/_includes/styles/main.html +2 -2
  28. data/_includes/styles/vendor.html +1 -1
  29. data/_includes/svg/kcc.html +69 -59
  30. data/_includes/translate.html +3 -3
  31. data/_layouts/default-core.html +29 -30
  32. data/assets/css/kcc-theme.css +1 -1
  33. data/assets/js/theme/dist/kcc-theme.bundle.js +1 -1
  34. data/assets/js/theme/src/addClassToOpenNavbar.js +20 -0
  35. data/assets/js/theme/src/all.js +2 -0
  36. data/assets/scss/1-base/_header-global.scss +6 -3
  37. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 86eb636a6853157b1ea2190aa4a4a9fa194a92eff35912af5fbfa611d7d5e3d2
4
- data.tar.gz: 6bb6a23a83ca125bb5d1f4182fdd5703baf7b22f3d4dc3660c95e8e648a8a493
3
+ metadata.gz: 58c6d97c4256c6608c67894969e3f2e33087ba8d9a82556882add0fde9ef3a49
4
+ data.tar.gz: 49ad20ec7fdf465764d3874af1286a3df40e08e89768572f1542677e575da436
5
5
  SHA512:
6
- metadata.gz: b13d96490ebabd3e7009b2b869cfb5d1bbbb3d24c191e53a5af1b7ab69ba0518b5b2d987672fa5d32409f24deea9c71909ae8f38396438c05356776c4eac60be
7
- data.tar.gz: 48f54a6357db76dcdece71caba553edd9632d87d80d358df5b5cb29c62a8ef270b0ae5dcdc46290c8dfd9e6091e093e33cd6fadf0268c8645d4dcf50f9330237
6
+ metadata.gz: 27de5de6bb0ed96f80317a000e22e5e392eb29f98e1847c31e302e4911ca26c34702eb8ed355a3fa44c213f5757b69f20c2e754a97b33c881a4d5e3f616d178b
7
+ data.tar.gz: 192e71b9d72a731b879ce4e0e528e22ebd0ecebab182fd2ca16b3a742646eb5db656910b9ac75f805a1548d669fff52d1063d54b45451d561341fe5a91197c10
@@ -1 +1 @@
1
- 7c11d72c4c205ce10ef91d0d13edd192 ../assets/scss/kcc-theme.css
1
+ dd2fe029ff6cd2bc6218baffc7ecb712 ../assets/scss/kcc-theme.css
@@ -4,8 +4,6 @@
4
4
  source: 'assets/img/e-tech_a-roberts_mar2016_D41_6690.jpg'
5
5
  alt: 'Student working in an electrical technology lab'
6
6
  dropdown:
7
- - text: Register for Classes
8
- href: 'register'
9
7
  - text: Courses & Areas of Study
10
8
  href: 'courses'
11
9
  - text: Class Schedule
@@ -20,12 +18,16 @@
20
18
  href: 'commencement'
21
19
  - text: Final Exam Schedule
22
20
  href: 'final-exams'
21
+ - text: Register for Classes
22
+ href: 'register'
23
23
  - link_text: Admissions
24
24
  link_href: admissions
25
25
  image:
26
26
  source: 'assets/img/2016-senior-viewbook.jpg'
27
- alt: 'Take the first step to achieveing your goals, dreams & ambitions'
27
+ alt: 'Take the first step to achieving your goals, dreams & ambitions'
28
28
  dropdown:
29
+ - text: Placement Testing
30
+ href: 'testing'
29
31
  - text: Apply
30
32
  href: 'https://kccedu.force.com/portal/TX_SiteLogin?startURL=%2Fportal%2FTargetX_Base__Portal'
31
33
  - text: Request Information
@@ -34,69 +36,81 @@
34
36
  href: 'https://visit.kcc.edu'
35
37
  - text: Cav Day
36
38
  href: 'cav-day'
37
- - text: 'College Credit in High School'
38
- href: 'college-credit'
39
+ - text: 'Start in High School'
40
+ href: 'high-school'
41
+ - text: Veteran Services
42
+ href: 'veterans'
39
43
  - link_text: Tuition & Aid
44
+ link_href: 'tuition-and-aid'
40
45
  image:
41
46
  source: 'assets/img/fafsa-early-bird-banner-18.jpg'
42
47
  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
48
  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: '#'
49
+ - text: Financial Aid
50
+ href: 'financial-aid'
51
+ - text: Net Price Calculator
52
+ href: 'net-price-calculator'
55
53
  - link_text: Student Resources
54
+ link_href: 'student-resources'
56
55
  image:
57
56
  source: 'assets/img/DSC_5650_helpful.jpg'
58
57
  alt: 'Receptionist answering the phone'
59
58
  dropdown:
60
- - text: Action
61
- href: '#'
62
- - text: Another action
63
- href: '#'
64
- - text: Another action
65
- href: '#'
66
- - text: Another action
67
- href: '#'
68
- - text: Another action
69
- href: '#'
70
- - text: dropdown-divider
71
- - text: Something else here
72
- href: '#'
59
+ - text: Bookstore
60
+ href: 'http://books.kcc.edu'
61
+ - text: Clubs & Organizations
62
+ href: 'clubs'
63
+ - text: Fitness Center
64
+ href: 'https://athletics.kcc.edu/facilities/fitness-center'
65
+ - text: Advising
66
+ href: 'advising'
67
+ - text: 'Counseling & Referral Services'
68
+ href: 'counseling-and-referral-services'
69
+ - text: Social Services
70
+ href: 'social-services'
71
+ - text: Disability Services
72
+ href: 'disability-services'
73
+ - text: Student Representatives
74
+ href: 'student-representatives'
75
+ - text: Student Complaint Policy
76
+ href: 'student-complaint-policy'
77
+ - text: Career Resources
78
+ href: 'career-resources'
79
+ - text: Food Pantry
80
+ href: 'food-pantry'
73
81
  - link_text: Community
82
+ link_href: 'community'
74
83
  image:
75
84
  source: 'assets/img/go_cavs_20171002_193828-web.jpg'
76
85
  alt: 'Group photo of students holding Cavalier signs'
77
86
  dropdown:
78
- - text: Action
79
- href: '#'
80
- - text: Another action
81
- href: '#'
82
- - text: Another action
83
- href: '#'
84
- - text: dropdown-divider
85
- - text: Something else here
86
- href: '#'
87
- - link_text: About
87
+ - text: Testing Services
88
+ href: 'testing-services'
89
+ - text: Continuing Education
90
+ href: 'https://continuinged.kcc.edu'
91
+ - text: Sustainability
92
+ href: 'sustainability'
93
+ - text: Speakers Bureau
94
+ href: 'speakers-bureau'
95
+ - text: Arts & Culture
96
+ href: 'arts-and-culture'
97
+ - link_text: About KCC
98
+ link_href: 'about'
88
99
  image:
89
100
  source: 'assets/img/ATEC-DSC_1033.jpeg'
90
101
  alt: 'The new Advanced Technology Education Center building'
91
102
  dropdown:
92
- - text: Action
93
- href: '#'
94
- - text: Another action
95
- href: '#'
96
- - text: Another action
97
- href: '#'
98
- - text: Another action
99
- href: '#'
100
- - text: dropdown-divider
101
- - text: Something else here
102
- href: '#'
103
+ - text: Newsroom
104
+ href: 'https://newsroom.kcc.edu'
105
+ - text: Leadership
106
+ href: 'leadership'
107
+ - text: 'Police & Safety'
108
+ href: 'police-and-safety'
109
+ - text: Human Resources
110
+ href: 'human-resources'
111
+ - text: ITS
112
+ href: 'its'
113
+ - text: Marketing
114
+ href: 'marketing'
115
+ - text: 'Institutional Effectiveness'
116
+ href: 'institutional-effectiveness'
@@ -1 +1 @@
1
- e41b3f004da835e1c414
1
+ cfc37d41b1592bfba0cc
@@ -1,8 +1,10 @@
1
- <!-- Custom CSS Stylesheet for CloudCannon -->
2
- <link rel="stylesheet" href="{{page.baseurl}}assets/css/content.css">
3
- <!-- Uncomment to prevent IE-11 caching (for IE testing) -->
4
- <!-- <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
5
- <META HTTP-EQUIV="Expires" CONTENT="-1"> -->
6
- </head>
7
- <body{% if page.homepage == true %} id="homePage"{% endif %}>
8
- <h1 class="sr-only">{% if page.outline_title %}{{ page.outline_title }}{% else %}{{ page.title }}{% endif %}</h1>
1
+ <!-- Custom CSS Stylesheet for CloudCannon -->
2
+ <link rel="stylesheet" href="{{page.baseurl}}assets/css/content.css">
3
+ {%- comment -%}
4
+ <!-- Uncomment to prevent IE-11 caching (for IE testing) -->
5
+ <!-- <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
6
+ <META HTTP-EQUIV="Expires" CONTENT="-1"> -->
7
+ {% endcomment %}
8
+ </head>
9
+ <body{% if page.homepage == true %} id="homePage"{% endif %}>
10
+ <h1 class="sr-only">{%- if page.outline_title -%}{{ page.outline_title }}{% else %}{{ page.title }}{%- endif -%}</h1>
@@ -1,27 +1,26 @@
1
- <section>
2
- <div class="container">
3
- <div class="row">
4
- <div class="col margins__col--top section__heading-underline">
5
- <h3 class="typography__section--heading margins__heading--btm">{{ page.card_section }}</h3>
6
- </div>
7
- </div>
8
- <div class="row">
9
- {% for card in page.cards %}
10
- <div class="col-md-6 col-lg-4 text-center mx-auto card-section__col--margin-btm">
11
- <div class="mb-3">
12
- <a href="{{ card.link }}" class="links__block"><img alt="{{ card.thumb_alt_text }}" class="img-fluid rounded-circle w-50 img__shadow--border" src="{{ page.baseurl }}assets/img/kcc-placeholder-square.png" data-src="{{ page.baseurl }}{{ card.thumb }}" /></a>
13
- </div>
14
- <a class="links__no-underline" href="{{ card.link }}">
15
- <h4 class="typography__orange-h4">{{ card.name }}</h4>
16
- </a>
17
- <div class="row card-section__text-wrapper">
18
- <div class="col align-self-start">
19
- <p class="typography__p--bold">{{ card.description }}</p>
1
+ <section>
2
+ <div class="container">
3
+ <div class="row">
4
+ <div class="col margins__col--top section__heading-underline">
5
+ <h3 class="typography__section--heading margins__heading--btm">{{ page.card_section }}</h3>
6
+ </div>
7
+ </div>
8
+ <div class="row">{% for card in page.cards %}
9
+ <div class="col-md-6 col-lg-4 text-center mx-auto card-section__col--margin-btm">
10
+ <div class="mb-3">
11
+ <a href="{{ card.link }}" class="links__block"><img alt="{{ card.thumb_alt_text }}" class="img-fluid rounded-circle w-50 img__shadow--border" src="{{ page.baseurl }}assets/img/kcc-placeholder-square.png" data-src="{{ page.baseurl }}{{ card.thumb }}" /></a>
12
+ </div>
13
+ <a class="links__no-underline" href="{{ card.link }}">
14
+ <h4 class="typography__orange-h4">{{ card.name }}</h4>
15
+ </a>
16
+ <div class="row card-section__text-wrapper">
17
+ <div class="col align-self-start">
18
+ <p class="typography__p--bold">{{ card.description }}</p>
19
+ </div>
20
+ </div>
21
+ <a href="{{ card.link }}" class="btn btn-primary">{{ card.button_text }}</a>
22
+ </div>
23
+ {%- endfor -%}
20
24
  </div>
21
25
  </div>
22
- <a href="{{ card.link }}" class="btn btn-primary">{{ card.button_text }}</a>
23
- </div>
24
- {% endfor %}
25
- </div>
26
- </div>
27
- </section>
26
+ </section>
@@ -1,96 +1,96 @@
1
- {% assign sorted_contacts = site.contacts | sort: "display_order" %}
2
- <section>
3
- <div class="container">
4
- <div class="row">
5
- <div class="col mt-1 home__col--heading-underline">
6
- <h3 id="contact" class="typography__section--heading margins__heading--btm links__offset">Contacts</h3>
7
- </div>
8
- </div>
9
- <div class="row editor-link">
10
- <div class="col editor-link mb-3">
11
- <a href="cloudcannon:collections/_contacts/" class="btn btn-success editor-button">Edit Contacts</a>
12
- </div>
13
- </div>
14
- <div class="row">
15
- {% for contact in sorted_contacts %}
16
- {% assign contact_name = contact.name | split: " " %}
17
- {% assign first = contact_name[0] %}
18
- {% assign last = contact_name[1] %}
19
- {% if contact.portrait != "For departments with no contact photos, do not change this field." and contact.portrait != 'none' %}
20
- <div class="col-md-6 contacts__col-bottom-margin">
21
- <div class="row">
22
- <div class="col-4 contacts__col--img">
23
- <img src="{{ page.baseurl }}assets/img/blank-contact.svg" data-src="{{ page.baseurl }}{{ contact.portrait }}" alt="Photo of {{ contact.name }}" class="img-fluid contacts__portrait" />
1
+ {%- assign sorted_contacts = site.contacts | sort: "display_order" -%}
2
+ <section>
3
+ <div class="container">
4
+ <div class="row">
5
+ <div class="col mt-1 home__col--heading-underline">
6
+ <h3 id="contact" class="typography__section--heading margins__heading--btm links__offset">Contacts</h3>
7
+ </div>
24
8
  </div>
25
- <div class="col-8 float-right">
26
- <h5 class="typography__contacts--name notranslate">{{ contact.name }}</h5>
27
- {% if contact.contacts_title %}<h6 class="typography__contacts--title">{{ contact.contacts_title }}</h6>{% endif %}
28
- <p class="notranslate">
29
- {% if contact.phone %}<a href="tel:1{{ contact.phone | remove: '-' }}" class="links__darker-link">{{ contact.phone }}</a><br>{% endif %}
30
- {% if contact.email %}<a class="links__darker-link" target="_blank" href="https://secure.jotform.com/90435102482954?to[first]={{ first }}&amp;to[last]={{ last }}&amp;submitEmail={{ contact.email | remove: '@kcc.edu' }}%40kcc.edu">Email</a><br>{% endif %}
31
- {% if contact.fax %}Fax: {{ contact.fax }}{% endif %}
32
- {% if contact.bio == true %}<button type="button" class="btn btn-primary mt-2" data-toggle="modal" data-target="#{{ contact.name | downcase | replace: ' ', '-' | remove: '.' | remove: '/' | remove: "'" | remove: '’' }}">View Bio</button>{% endif %}
33
- </p>
9
+ <div class="row editor-link">
10
+ <div class="col editor-link mb-3">
11
+ <a href="cloudcannon:collections/_contacts/" class="btn btn-success editor-button">Edit Contacts</a>
12
+ </div>
34
13
  </div>
35
- </div>
36
- </div>
37
- {% elsif contact.portrait == 'none' %}
38
- <div class="col-md-6 contacts__col-bottom-margin">
39
- <div class="row">
40
- <div class="col-4 contacts__col--img">
41
- <!-- No contact portrait -->
14
+ <div class="row">
15
+ {%- for contact in sorted_contacts -%}
16
+ {%- assign contact_name = contact.name | split: " " -%}
17
+ {%- assign first = contact_name[0] -%}
18
+ {%- assign last = contact_name[1] -%}
19
+ {% if contact.portrait != "For departments with no contact photos, do not change this field." and contact.portrait != 'none' %}
20
+ <div class="col-md-6 contacts__col-bottom-margin">
21
+ <div class="row">
22
+ <div class="col-4 contacts__col--img">
23
+ <img src="{{ page.baseurl }}assets/img/blank-contact.svg" data-src="{{ page.baseurl }}{{ contact.portrait }}" alt="Photo of {{ contact.name }}" class="img-fluid contacts__portrait" />
24
+ </div>
25
+ <div class="col-8 float-right">
26
+ <h5 class="typography__contacts--name notranslate">{{ contact.name }}</h5>
27
+ {% if contact.contacts_title %}<h6 class="typography__contacts--title">{{ contact.contacts_title }}</h6>{% endif %}
28
+ <p class="notranslate">
29
+ {% if contact.phone %}<a href="tel:1{{ contact.phone | remove: '-' }}" class="links__darker-link">{{ contact.phone }}</a><br>{% endif %}
30
+ {% if contact.email %}<a class="links__darker-link" target="_blank" href="https://secure.jotform.com/90435102482954?to[first]={{ first }}&amp;to[last]={{ last }}&amp;submitEmail={{ contact.email | remove: '@kcc.edu' }}%40kcc.edu">Email</a><br>{% endif %}
31
+ {%- if contact.fax -%}Fax: {{ contact.fax }}{% endif %}
32
+ {%- if contact.bio == true -%}<button type="button" class="btn btn-primary mt-2" data-toggle="modal" data-target="#{{ contact.name | downcase | replace: ' ', '-' | remove: '.' | remove: '/' | remove: "'" | remove: '’' }}">View Bio</button>{% endif %}
33
+ </p>
34
+ </div>
35
+ </div>
36
+ </div>
37
+ {% elsif contact.portrait == 'none' %}
38
+ <div class="col-md-6 contacts__col-bottom-margin">
39
+ <div class="row">
40
+ <div class="col-4 contacts__col--img">
41
+ <!-- No contact portrait -->
42
+ </div>
43
+ <div class="col-8 float-right">
44
+ <h5 class="typography__contacts--name notranslate">{{ contact.name }}</h5>
45
+ {% if contact.contacts_title %}<h6 class="typography__contacts--title">{{ contact.contacts_title }}</h6>{% endif %}
46
+ <p class="notranslate">
47
+ {% if contact.phone %}<a href="tel:1{{ contact.phone | remove: '-' }}" class="links__darker-link">{{ contact.phone }}</a><br>{% endif %}
48
+ {% if contact.email %}<a class="links__darker-link" target="_blank" href="https://secure.jotform.com/90435102482954?to[first]={{ first }}&amp;to[last]={{ last }}&amp;submitEmail={{ contact.email | remove: '@kcc.edu' }}%40kcc.edu">Email</a><br>{% endif %}
49
+ {%- if contact.fax -%}Fax: {{ contact.fax }}{% endif %}
50
+ {%- if contact.bio == true -%}<button type="button" class="btn btn-primary mt-2" data-toggle="modal" data-target="#{{ contact.name | downcase | replace: ' ', '-' | remove: '.' | remove: '/' | remove: "'" | remove: '’' }}">View Bio</button>{% endif %}
51
+ </p>
52
+ </div>
53
+ </div>
54
+ </div>
55
+ {% else %}
56
+ <div class="col-sm-6 col-md-4 mb-3">
57
+ <h5 class="typography__contacts--name notranslate">{{ contact.name }}</h5>
58
+ {% if contact.contacts_title %}<h6 class="typography__contacts--title">{{ contact.contacts_title }}</h6>{% endif %}
59
+ <p class="notranslate">
60
+ {% if contact.phone %}<a href="tel:1{{ contact.phone | remove: '-' }}" class="links__darker-link">{{ contact.phone }}</a><br>{% endif %}
61
+ {% if contact.email %}<a class="links__darker-link" target="_blank" href="https://secure.jotform.com/90435102482954?to[first]={{ first }}&amp;to[last]={{ last }}&amp;submitEmail={{ contact.email | remove: '@kcc.edu' }}%40kcc.edu">Email</a><br>{% endif %}
62
+ {% if contact.fax %}Fax: {{ contact.fax }}{% endif %}
63
+ {% if contact.bio == true %}<button type="button" class="btn btn-primary mt-2" data-toggle="modal" data-target="#{{ contact.name | downcase | replace: ' ', '-' | remove: '.' | remove: '/' | remove: "'" | remove: '’' }}">View Bio</button>{% endif %}
64
+ </p>
65
+ </div>
66
+ {%- endif -%}
67
+ {%- endfor -%}
42
68
  </div>
43
- <div class="col-8 float-right">
44
- <h5 class="typography__contacts--name notranslate">{{ contact.name }}</h5>
45
- {% if contact.contacts_title %}<h6 class="typography__contacts--title">{{ contact.contacts_title }}</h6>{% endif %}
46
- <p class="notranslate">
47
- {% if contact.phone %}<a href="tel:1{{ contact.phone | remove: '-' }}" class="links__darker-link">{{ contact.phone }}</a><br>{% endif %}
48
- {% if contact.email %}<a class="links__darker-link" target="_blank" href="https://secure.jotform.com/90435102482954?to[first]={{ first }}&amp;to[last]={{ last }}&amp;submitEmail={{ contact.email | remove: '@kcc.edu' }}%40kcc.edu">Email</a><br>{% endif %}
49
- {% if contact.fax %}Fax: {{ contact.fax }}{% endif %}
50
- {% if contact.bio == true %}<button type="button" class="btn btn-primary mt-2" data-toggle="modal" data-target="#{{ contact.name | downcase | replace: ' ', '-' | remove: '.' | remove: '/' | remove: "'" | remove: '’' }}">View Bio</button>{% endif %}
51
- </p>
69
+ </div>
70
+ </section>
71
+ {% for contact in sorted_contacts %}
72
+ {%- if contact.bio == true -%}
73
+ <!-- Modal -->
74
+ <div class="modal fade" id="{{ contact.name | downcase | replace: ' ', '-' | remove: '.' | remove: '/' | remove: "'" | remove: '’' }}" tabindex="-1" aria-labelledby="{{ contact.name | downcase | replace: ' ', '-' | remove: '.' | remove: '/' | remove: "'" | remove: '’' }}-label" aria-hidden="true">
75
+ <div class="modal-dialog">
76
+ <div class="modal-content">
77
+ <div class="modal-header">
78
+ <h5 class="typography__h6" id="{{ contact.name | downcase | replace: ' ', '-' | remove: '.' | remove: '/' | remove: "'" | remove: '’' }}-label">{{ contact.name }} Bio</h5>
79
+ <button type="button" class="close" data-dismiss="modal" aria-label="Close">
80
+ <span aria-hidden="true">&times;</span>
81
+ </button>
82
+ </div>
83
+ <div class="modal-body">
84
+ {% if contact.portrait %}<img src="{{ page.baseurl }}assets/img/blank-contact.svg" data-src="{{ page.baseurl }}{{ contact.portrait }}" class="img-fluid float-left mr-2 mb-2" alt="Photo of {{ contact.name }} KCC's {{ contact.contacts_title }}">{% endif %}
85
+ <h5 class="typography__contacts--name notranslate">{{ contact.name }}</h5>
86
+ {% if contact.contacts_title %}<h6 class="typography__contacts--title">{{ contact.contacts_title }}</h6>{% endif %}
87
+ {{ contact.content }}
88
+ </div>
89
+ <div class="modal-footer">
90
+ <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
91
+ </div>
52
92
  </div>
53
93
  </div>
54
94
  </div>
55
- {% else %}
56
- <div class="col-sm-6 col-md-4 mb-3">
57
- <h5 class="typography__contacts--name notranslate">{{ contact.name }}</h5>
58
- {% if contact.contacts_title %}<h6 class="typography__contacts--title">{{ contact.contacts_title }}</h6>{% endif %}
59
- <p class="notranslate">
60
- {% if contact.phone %}<a href="tel:1{{ contact.phone | remove: '-' }}" class="links__darker-link">{{ contact.phone }}</a><br>{% endif %}
61
- {% if contact.email %}<a class="links__darker-link" target="_blank" href="https://secure.jotform.com/90435102482954?to[first]={{ first }}&amp;to[last]={{ last }}&amp;submitEmail={{ contact.email | remove: '@kcc.edu' }}%40kcc.edu">Email</a><br>{% endif %}
62
- {% if contact.fax %}Fax: {{ contact.fax }}{% endif %}
63
- {% if contact.bio == true %}<button type="button" class="btn btn-primary mt-2" data-toggle="modal" data-target="#{{ contact.name | downcase | replace: ' ', '-' | remove: '.' | remove: '/' | remove: "'" | remove: '’' }}">View Bio</button>{% endif %}
64
- </p>
65
- </div>
66
- {% endif %}
67
- {% endfor %}
68
- </div>
69
- </div>
70
- </section>
71
- {% for contact in sorted_contacts %}
72
- {% if contact.bio == true %}
73
- <!-- Modal -->
74
- <div class="modal fade" id="{{ contact.name | downcase | replace: ' ', '-' | remove: '.' | remove: '/' | remove: "'" | remove: '’' }}" tabindex="-1" aria-labelledby="{{ contact.name | downcase | replace: ' ', '-' | remove: '.' | remove: '/' | remove: "'" | remove: '’' }}-label" aria-hidden="true">
75
- <div class="modal-dialog">
76
- <div class="modal-content">
77
- <div class="modal-header">
78
- <h5 class="typography__h6" id="{{ contact.name | downcase | replace: ' ', '-' | remove: '.' | remove: '/' | remove: "'" | remove: '’' }}-label">{{ contact.name }} Bio</h5>
79
- <button type="button" class="close" data-dismiss="modal" aria-label="Close">
80
- <span aria-hidden="true">&times;</span>
81
- </button>
82
- </div>
83
- <div class="modal-body">
84
- {% if contact.portrait %}<img src="{{ page.baseurl }}assets/img/blank-contact.svg" data-src="{{ page.baseurl }}{{ contact.portrait }}" class="img-fluid float-left mr-2 mb-2" alt="Photo of {{ contact.name }} KCC's {{ contact.contacts_title }}">{% endif %}
85
- <h5 class="typography__contacts--name notranslate">{{ contact.name }}</h5>
86
- {% if contact.contacts_title %}<h6 class="typography__contacts--title">{{ contact.contacts_title }}</h6>{% endif %}
87
- {{ contact.content }}
88
- </div>
89
- <div class="modal-footer">
90
- <button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
91
- </div>
92
- </div>
93
- </div>
94
- </div>
95
- {% endif %}
96
- {% endfor %}
95
+ {%- endif -%}
96
+ {% endfor %}
@@ -13,7 +13,9 @@
13
13
  Theme & theme's build-process coded and developed by Wesley Zajicek for KCC 2019-2020
14
14
  Author: Wesley Zajicek | https://github.com/wdzajicek
15
15
  -->
16
- {% if site.humans_file == true %}<!-- The human's, the human's!! -->
17
- <link rel="author" type="text/plain" href="/humans.txt" />{% endif %}
16
+ {% if site.humans_file == true %}
17
+ <!-- The human's, the human's!! -->
18
+ <link rel="author" type="text/plain" href="/humans.txt" />
19
+ {%- endif -%}
18
20
  <!-- Standard Favicon -->
19
- <link rel="icon" type="image/x-icon" href="{{page.baseurl}}favicon.ico"/>
21
+ <link rel="icon" type="image/x-icon" href="{{page.baseurl}}favicon.ico"/>
@@ -1,29 +1,29 @@
1
- <div id="emergencyAlerts" class="position__offset-alert{% if site.core_site == true %} position__offset-alert-core{% endif %}{% if site.core_root == true %} position__offset-alert-core--root{% endif %}">
2
- <!-- Alerts get built here via JS if they are set to be active -->
3
- {% comment %}
4
- <div class="container position__offset-alert">
5
- <div class="row">
6
- <div class="col">
7
- <div class="alert alert-warning">
8
- <p class="typography__alert mb-0"><strong>Alert</strong>:&nbsp;All KCC facilities will be closed March 18-30. Credit classes resume online March 23. <a href="https://coronavirus.kcc.edu/" target="_blank" rel="noopener noreferrer">coronavirus.kcc.edu</a> has&nbsp;details.</p>
1
+ <div id="emergencyAlerts" class="position__offset-alert{% if site.core_site == true %} position__offset-alert-core{% endif %}{% if site.core_root == true %} position__offset-alert-core--root{% endif %}">
2
+ <!-- Alerts get built here via JS if they are set to be active -->
3
+ {%- comment -%}
4
+ <div class="container position__offset-alert">
5
+ <div class="row">
6
+ <div class="col">
7
+ <div class="alert alert-warning">
8
+ <p class="typography__alert mb-0"><strong>Alert</strong>:&nbsp;All KCC facilities will be closed March 18-30. Credit classes resume online March 23. <a href="https://coronavirus.kcc.edu/" target="_blank" rel="noopener noreferrer">coronavirus.kcc.edu</a> has&nbsp;details.</p>
9
+ </div>
10
+ </div>
9
11
  </div>
10
12
  </div>
13
+ {% endcomment %}
11
14
  </div>
12
- </div>
13
- {% endcomment %}
14
- </div>
15
- {% comment %}
15
+ {%- comment -%}
16
16
 
17
- <!-- TODO:
17
+ <!-- TODO:
18
18
 
19
- AFTER CORE IS LAUNCHED
19
+ AFTER CORE IS LAUNCHED
20
20
 
21
- REMOVE:
22
- ```
23
- {% if site.core_site == true %} position__offset-alert-core{% endif %}{% if site.core_root == true %} position__offset-alert-core--root{% endif %}
24
- ```
25
- (ALSO REMOVE FROM CONFIG)
21
+ REMOVE:
22
+ ```
23
+ {% if site.core_site == true %} position__offset-alert-core{% endif %}{% if site.core_root == true %} position__offset-alert-core--root{% endif %}
24
+ ```
25
+ (ALSO REMOVE FROM CONFIG)
26
26
 
27
- ENDTODO -->
27
+ ENDTODO -->
28
28
 
29
- {% endcomment %}
29
+ {%- endcomment -%}