jekyll-theme-easy-wedding 0.1.17 → 0.1.21

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 849a775c2703eb2d4e50e5900d4d1a0a07acfc92da5ba07c1c77b090e8e1fefc
4
- data.tar.gz: 8c3a806b0ae42bf94f2d907a04137249775532e75db8b581dae60297ebdd56e7
3
+ metadata.gz: e3846ac576c275111b1155d5734874febf4a68fe083d04208e871cf5ca90d722
4
+ data.tar.gz: 395cd46ad841cda68846a136f523bdc73d5c5abc610a89c24d67e83564035c72
5
5
  SHA512:
6
- metadata.gz: a7b740f2a5af1693dee42ea37eddde5d731b6a0c67191fc4d186c2634a4a1c67eb18378e8bca00278e44da9e94e62c1c0d6bf46729aa4d5adb4d6968746d84cc
7
- data.tar.gz: 22428c98919b47d89a6021a3003947dfee9293b0e1c4514f0a04aef15aff51f7d494f53168f0cc0bdf131e24f1a8e25de6404d0d92fde8f28608e5bac9ba8165
6
+ metadata.gz: 8e764828f3b973e995d86baf3b1d790a0a4095a5396358b1fd3dfe26af6c11ccd9fea9e30dafd04949a3e39702d0f9b40c8ce8d28739dad46eaa0d7e5e95d3c9
7
+ data.tar.gz: dde7f03764763080ce136a98b9956e8f19b4103fa617807ccb7dd68f16c2abbaf85c9e1ea06a5bd2d841bf21f50c173b6267616e7d03f484cabaa16c666d520d
@@ -1,66 +1,70 @@
1
- <section class="container content-section text-center">
2
- <h2>{{ site.data.settings.people.families_header }}</h2>
3
- <p> {{ site.data.settings.people.families_text }} </p>
4
- <div class="portraits-container">
5
- {% for family in site.data.people.families %}
6
- <div class="portrait">
7
- <div class="thumbnail thumbnail-portrait">
8
- <img src="{{site.baseurl}}/assets/img/people/{{ family.pic }}" class="img-thumbnail" alt="{{ family.name }}" title="{{ family.name }}">
1
+ {% if site.data.people.families %}
2
+ <section class="container content-section text-center">
3
+ <h2>{{ site.data.settings.people.families_header }}</h2>
4
+ <p> {{ site.data.settings.people.families_text }} </p>
5
+ <div class="people-grid">
6
+ {% for family in site.data.people.families %}
7
+ <div class="protrait polaroid">
8
+ <img src="{{site.baseurl}}/assets/img/people/{{ family.pic }}" class="img-thumbnail img-responsive" alt="{{ family.name }}" title="{{ family.name }}">
9
9
  <div class="caption">
10
10
  <h4>{{ family.name }}</h4>
11
11
  <p>{{ family.people }}</p>
12
12
  </div>
13
13
  </div>
14
- </div>
15
- {% endfor %}
16
- </div>
17
- </section>
14
+ {% endfor %}
15
+ </div>
16
+ </section>
17
+ {% endif %}
18
18
 
19
- <section class="container content-section text-center">
20
- <h2>{{ site.data.settings.people.kids_header }}</h2>
21
- <p>
22
- {{ site.data.settings.people.kids_text }}
23
- </p>
24
- <div class="portraits-container">
25
- {% for kid in site.data.people.kids %}
26
- <div class="portrait">
27
- <div class="thumbnail thumbnail-portrait">
28
- <img src="{{site.baseurl}}/assets/img/people/{{ kid.pic }}" class="img-thumbnail" alt="{{ kid.name }}" title="{{ kid.name }}">
19
+ {% if site.data.people.kids %}
20
+ <section class="container content-section text-center">
21
+ <h2>{{ site.data.settings.people.kids_header }}</h2>
22
+ <p>
23
+ {{ site.data.settings.people.kids_text }}
24
+ </p>
25
+ <div class="people-grid">
26
+ {% for kid in site.data.people.kids %}
27
+ <div class="portrait polaroid">
28
+ <img src="{{site.baseurl}}/assets/img/people/{{ kid.pic }}" class="img-thumbnail img-responsive" alt="{{ kid.name }}" title="{{ kid.name }}">
29
29
  <div class="caption">
30
- <p>
31
- {{ kid.name }}
32
- <br>
33
- <small>{{ kid.title }}</small>
30
+ <h5>{{ kid.name }}</h5>
31
+ <small>{{ kid.role }}</small>
34
32
  </p>
35
33
  </div>
36
34
  </div>
37
- </div>
38
- {% endfor %}
39
- </div>
40
- </section>
35
+ {% endfor %}
36
+ </div>
37
+ </section>
38
+ {% endif %}
41
39
 
42
- <section class="container content-section text-center">
43
- <h2>{{ site.data.settings.people.wedding_party_header }}</h2>
44
- {% for her in site.data.people.her_side %}
45
- {% assign his = site.data.people.his_side[forloop.index0] %}
46
- <div class="row">
47
- <div class="col-sm-3 col-md-offset-1 col-md-3 col-xs-6" style="margin-bottom: 60px">
48
- <img class="img-thumbnail img-responsive" src="{{site.baseurl}}/assets/img/people/{{ her.pic }}" alt="{{ her.name }}" title="{{ her.name }}">
49
- </div>
50
- <p class="col-sm-3 col-md-2 col-xs-6 text-left">
51
- {{ her.name }}<br><small>{{ her.role }}</small>
52
- </p>
40
+ {% if site.data.people.his_side and site.data.people.her_side %}
41
+ <section class="container content-section text-center">
42
+ <h2>{{ site.data.settings.people.wedding_party_header }}</h2>
53
43
 
54
- <div class="clearfix visible-xs-block"></div>
44
+ <div class="people-grid">
45
+ {% for her in site.data.people.her_side %}
46
+ {% assign his = site.data.people.his_side[forloop.index0] %}
55
47
 
56
- {% if his %}
57
- <p class="col-sm-3 col-md-2 col-xs-6 text-right">
58
- {{ his.name }}<br><small>{{ his.role }}</small>
59
- </p>
60
- <div class="col-sm-3 col-md-3 col-xs-6" style="margin-bottom: 60px">
61
- <img class="img-thumbnail img-responsive" src="{{site.baseurl}}/assets/img/people/{{ his.pic }}" alt="{{ his.name }}" title="{{ his.name }}">
48
+ <div class="portrait polaroid">
49
+ <img class="img-thumbnail img-responsive" src="{{site.baseurl}}/assets/img/people/{{ her.pic }}" alt="{{ her.name }}"
50
+ title="{{ her.name }}">
51
+ <div class="caption">
52
+ <h5>{{ her.name }}</h5>
53
+ <small>{{ her.role }}</small>
54
+ </div>
62
55
  </div>
63
- {% endif %}
56
+
57
+ <div class="portrait polaroid">
58
+ <img class="img-thumbnail img-responsive" src="{{site.baseurl}}/assets/img/people/{{ his.pic }}" alt="{{ his.name }}"
59
+ title="{{ his.name }}">
60
+ <div class="caption">
61
+ <h5>{{ his.name }}</h5>
62
+ <small>{{ his.role }}</small>
63
+ </div>
64
+ </div>
65
+
66
+ {% endfor %}
67
+
64
68
  </div>
65
- {% endfor %}
66
- </section>
69
+ </section>
70
+ {% endif %}
data/_layouts/page.html CHANGED
@@ -2,4 +2,23 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- {{ content }}
5
+ {% capture style %}
6
+ {% if page.image_position %} background-position: {{ page.image_position }};{% endif %}
7
+ background-image: url({{site.baseurl}}/{{ page.billboard_image }})
8
+ {% endcapture %}
9
+
10
+ <header class="billboard billboard-header"
11
+ style="{{style}}">
12
+ <h1 class="billboard-text">
13
+ {{ page.title }}
14
+ </h1>
15
+ </header>
16
+
17
+ <section class="container content-section text-center">
18
+ <div class="row">
19
+ <div class="col-lg-12 page-content">
20
+ {{ content }}
21
+ </div>
22
+ </div>
23
+ </section>
24
+