landing-page-gem 1.2.6 → 1.2.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_config.yml +3 -2
- data/_includes/testimonials-template.html +15 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d45f706e068789bb34f3985f9fb5b34b538cd372a2eef1911962d483c9fe4ca5
|
4
|
+
data.tar.gz: '083530056c6b540ee426fa95e5a74e0d22eff38856b56b79658212a4d9b93550'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 81510278d0250cb9deeaa60eda0d68946afc2f34b5d5c830c28131e68f39951404d6f7d11f5a519db4730d2c51ad4457405d497873286e5e00732a65dc4b3b0a
|
7
|
+
data.tar.gz: e6eb9dc91a6f5b05f1e1fee55634dc8c2faf778b3713adfb25e0b1086e1a60f737f1621924c2af89f31773bacffc3a5c91ff6716e524b0121ee67dbd9e41a009
|
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,12 +20,16 @@
|
|
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">
|
22
27
|
<em>
|
28
|
+
{% if page.exclude_testimonials_html_quotes %}
|
29
|
+
{{ item.quote }}
|
30
|
+
{% else %}
|
23
31
|
“{{ item.quote }}”
|
32
|
+
{% endif %}
|
24
33
|
</em>
|
25
34
|
</p>
|
26
35
|
<span class="benefits__typography--img-cap ms-4">— {{ item.name }}{% if item.year %} - {{ item.year }}{% endif %}</span>
|
@@ -31,7 +40,11 @@
|
|
31
40
|
<div class="col-12 col-md-8 order-2 order-md-1 align-self-center">
|
32
41
|
<p class="benefits__typography--student-p">
|
33
42
|
<em>
|
43
|
+
{% if page.exclude_testimonials_html_quotes %}
|
44
|
+
{{ item.quote }}
|
45
|
+
{% else %}
|
34
46
|
“{{ item.quote }}”
|
47
|
+
{% endif %}
|
35
48
|
</em>
|
36
49
|
</p>
|
37
50
|
<span class="benefits__typography--img-cap ms-4">— {{ item.name }}{% if item.year %} - {{ item.year }}{% endif %}</span>
|
@@ -43,7 +56,7 @@
|
|
43
56
|
class="benefits__borders--circle-img img-fluid rounded-circle"
|
44
57
|
height="284px"
|
45
58
|
width="284px"
|
46
|
-
alt="{{
|
59
|
+
alt="{{ alt_text }}">
|
47
60
|
</div>
|
48
61
|
</div>
|
49
62
|
{% endif %}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: landing-page-gem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- wdzajicek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|