kcc-gem-theme 1.0.8 → 1.0.9
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/contacts-tan.html +50 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27d4d9aaa56e7c86f27bdd861febfd5e0a7c287d7bdbc1e3b164b95ca6242bcc
|
4
|
+
data.tar.gz: 5d2524616e78760bb296ef44437e790dbf0e9d72391b5cd5518091b66e489b32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4ac530605bd28a6ccdb07366e8d935aef27dee4ee7e84e2e9ea70115015c9bf4dfae7312d53844e9d05ec382b66559366c7d49d7acfd8c3d06cbaf398c6c095
|
7
|
+
data.tar.gz: 977538c6d237b69d625689be4e28cb0136919698a463848d779c425d102ba2577aae4cfb679f8b7b64d8d491284af151fa19fcdbeb2856ff97f383f0ab8a126e
|
@@ -0,0 +1,50 @@
|
|
1
|
+
{% assign sorted_contacts = site.contacts | sort: "display_order" %}
|
2
|
+
<section>
|
3
|
+
<div class="container">
|
4
|
+
<div class="row">
|
5
|
+
<div class="col margins__col--top 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>
|
10
|
+
<div class="container background__color--tan">
|
11
|
+
<div class="row editor-link">
|
12
|
+
<div class="col editor-link mb-3">
|
13
|
+
<a href="cloudcannon:collections/_contacts/" class="btn btn-success editor-button">Edit Contacts</a>
|
14
|
+
</div>
|
15
|
+
</div>
|
16
|
+
<div class="row">
|
17
|
+
{% for contact in sorted_contacts %}
|
18
|
+
{% assign contact_name = contact.name | split: " " %}
|
19
|
+
{% assign first = contact_name[0] %}
|
20
|
+
{% assign last = contact_name[1] %}
|
21
|
+
{% if contact.portrait != "For departments with no contact photos, do not change this field." %}
|
22
|
+
<div class="col-md-6 contacts__col-bottom-margin">
|
23
|
+
<div class="row">
|
24
|
+
<div class="col-4 contacts__col--img">
|
25
|
+
<img src="assets/img/blank-contact.svg" data-src="{{ page.baseurl }}{{ contact.portrait }}" alt="{{ contact.name }}" class="img-fluid contacts__portrait" />
|
26
|
+
</div>
|
27
|
+
<div class="col-8 float-right">
|
28
|
+
<h5 class="typography__contacts--name notranslate">{{ contact.name }}</h5>
|
29
|
+
<h6 class="typography__contacts--title">{{ contact.contacts_title }}</h6>
|
30
|
+
<p class="notranslate">
|
31
|
+
<a href="tel:1{{ contact.phone | remove: '-' }}" class="links__darker-link">{{ contact.phone }}</a><br>
|
32
|
+
<a class="links__darker-link" target="_blank" href="https://secure.jotform.com/90435102482954?to[first]={{ first | downcase }}&to[last]={{ last | downcase }}&submitEmail={{ contact.email | remove: '@kcc.edu' }}%40kcc.edu">Email</a>
|
33
|
+
</p>
|
34
|
+
</div>
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
{% else %}
|
38
|
+
<div class="col-sm-6 col-md-4 mb-3">
|
39
|
+
<h5 class="typography__contacts--name notranslate">{{ contact.name }}</h5>
|
40
|
+
<h6 class="typography__contacts--title">{{ contact.contacts_title }}</h6>
|
41
|
+
<p class="notranslate">
|
42
|
+
<a href="tel:1{{ contact.phone | remove: '-' }}" class="links__darker-link">{{ contact.phone }}</a><br>
|
43
|
+
<a class="links__darker-link" target="_blank" href="https://secure.jotform.com/90435102482954?to[first]={{ first | downcase }}&to[last]={{ last | downcase }}&submitEmail={{ contact.email | remove: '@kcc.edu' }}%40kcc.edu">Email</a>
|
44
|
+
</p>
|
45
|
+
</div>
|
46
|
+
{% endif %}
|
47
|
+
{% endfor %}
|
48
|
+
</div>
|
49
|
+
</div>
|
50
|
+
</section>
|
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.0.
|
4
|
+
version: 1.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- wdzajicek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-10-
|
11
|
+
date: 2019-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -67,6 +67,7 @@ files:
|
|
67
67
|
- _includes/body.html
|
68
68
|
- _includes/bottom-action-call.html
|
69
69
|
- _includes/card-section.html
|
70
|
+
- _includes/contacts-tan.html
|
70
71
|
- _includes/contacts.html
|
71
72
|
- _includes/document-head.html
|
72
73
|
- _includes/foot.html
|