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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 75364795ac627f4e3c8c07bdfc12f874b2f6a967d48167b1d96189457bdd5bcf
4
- data.tar.gz: 3836243b47a65da679813bf96464cdab928e28c5719da415be24c812eed2d7a5
3
+ metadata.gz: af816f6e212bce56d6724f643065fa9c9c44d62b36169fa99d9f07654e3bcc59
4
+ data.tar.gz: 757f5f12a9366092f10f5897a74b8b51e913b5395d2eea75d270b0df79cbed1d
5
5
  SHA512:
6
- metadata.gz: 6bf52aabfb134989dba2bf21a5313f2285b9d54047e43fde074d40d16ac39231dea45b8bc47660d960295c702f97e73cecae262680a07afe632560eafac52e3d
7
- data.tar.gz: d5637ccb21226f6bc9c4851feab90828f26c30ddb7687299daf99f3040f961262d49070276617325fa4e749ff53103eeb0148c45d758d63d01cb065650e187df
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
- name:
72
- type: text
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="{{ item.name }}">
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="{{ item.name }}">
51
+ alt="{{ alt_text }}">
47
52
  </div>
48
53
  </div>
49
54
  {% endif %}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: landing-page-gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.6
4
+ version: 1.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - wdzajicek