landing-page-gem 1.2.6 → 1.2.7
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/_config.yml +3 -2
- data/_includes/testimonials-template.html +7 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af816f6e212bce56d6724f643065fa9c9c44d62b36169fa99d9f07654e3bcc59
|
4
|
+
data.tar.gz: 757f5f12a9366092f10f5897a74b8b51e913b5395d2eea75d270b0df79cbed1d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e7e015bc860fc03baec2bd1ea50123de9edf12463754e7c27184b64b5a220e2fd1de3cefd68313188a08678d3368b4086a345be4eb0a426b4117c0f5c5d23d1
|
7
|
+
data.tar.gz: 1a5e0c3c0093a2851f7a6a09eb58f47a096ab49312bb791b2ab543e29044cc4b70a8c539af0f3650f10ebaf2afa7b749add1e7741c60f5cb539f8bbffcf9948f
|
data/_config.yml
CHANGED
@@ -60,6 +60,7 @@ compress_html:
|
|
60
60
|
# startings: [head, body] # Array of elements with optional start tags
|
61
61
|
# profile: true # Generate a table of compression/savings stats
|
62
62
|
|
63
|
+
# CloudCannon input configuration (see: https://cloudcannon.com/documentation/articles/configure-your-inputs/ for more info)
|
63
64
|
_inputs:
|
64
65
|
testimonials[*].portrait:
|
65
66
|
type: image
|
@@ -68,8 +69,8 @@ _inputs:
|
|
68
69
|
width: 400
|
69
70
|
testimonials[*].quote:
|
70
71
|
type: textarea
|
71
|
-
|
72
|
-
type:
|
72
|
+
testimonials[*].name:
|
73
|
+
type: textarea
|
73
74
|
testimonials[*].year:
|
74
75
|
type: text
|
75
76
|
comment: Graduation year (e.g. '24)
|
@@ -5,6 +5,11 @@
|
|
5
5
|
{% else %}
|
6
6
|
{% assign image = item.portrait %}
|
7
7
|
{% endif %}
|
8
|
+
{% if item.portrait_alt_text %}
|
9
|
+
{% assign alt_text = item.portrait_alt_text %}
|
10
|
+
{% else %}
|
11
|
+
{% assign alt_text = item.name %}
|
12
|
+
{% endif %}
|
8
13
|
{% capture even_odd_cycle %}{% cycle 'odd', 'even' %}{% endcapture %}
|
9
14
|
{% if even_odd_cycle == 'odd' %}
|
10
15
|
<div class="row{% if forloop.first != true %} benefits__row--pad{% endif %} mb-5 mb-lg-0">
|
@@ -15,7 +20,7 @@
|
|
15
20
|
class="benefits__borders--circle-img img-fluid rounded-circle"
|
16
21
|
height="284px"
|
17
22
|
width="284px"
|
18
|
-
alt="{{
|
23
|
+
alt="{{ alt_text }}">
|
19
24
|
</div>
|
20
25
|
<div class="col-12 col-md-8 align-self-center">
|
21
26
|
<p class="benefits__typography--student-p">
|
@@ -43,7 +48,7 @@
|
|
43
48
|
class="benefits__borders--circle-img img-fluid rounded-circle"
|
44
49
|
height="284px"
|
45
50
|
width="284px"
|
46
|
-
alt="{{
|
51
|
+
alt="{{ alt_text }}">
|
47
52
|
</div>
|
48
53
|
</div>
|
49
54
|
{% endif %}
|