jekyll-theme-mrwooo-solid-state 0.2.001 → 0.2.002

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/_layouts/default.html +20 -28
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7aaa1ae2a4f3e0cf157184d978474c8f8b0551eb
4
- data.tar.gz: 844ea2d4d1053dfe20056a0b2fa448c06bc9eef3
3
+ metadata.gz: 795cf8435ceab8af79c1690dae43d94d7232a487
4
+ data.tar.gz: dd6a5f5c147d662c1a754fadec3191ed88749cd4
5
5
  SHA512:
6
- metadata.gz: 7c39c2527a1699708b830bcb4f720d567e268e17ab3a61dfeb6da94ab56905dd18a61498540f542c61b8802099d0ecc36c00e691ca138d770cd3dc1c8cdbc60d
7
- data.tar.gz: bd4c3ea40e2cf8a3ad5d80a81a524b06d9a669b66f389ab47ea058de79855f5c2013814aa6dfe02f809bbfb7f3b6cb48446164d7591e7646642caec52d3be1a8
6
+ metadata.gz: ca973468cb3728654f054b9ad0dd92541497f897e4efa5be3ad1d962a77247f8e3166de87ad7b27d61dcbdc950daf463655234ed6ee8fc7ffcd06ffcb66b4cd6
7
+ data.tar.gz: a8027174c5a6b91bfe2e3e0adc39a780d8133d184209bf474a7d47661cf698afd607de66a45c170a32f255d941bde2b3d90564271ea3fccb942d3ca536de35ef
@@ -38,34 +38,26 @@
38
38
  <!-- Wrapper -->
39
39
  <section id="wrapper">
40
40
 
41
- {{ content }}
42
-
43
- {% for collection in site.collections %}
44
-
45
- {% assign name = collection.label %}
46
- {% if name == 'main' %}
47
- {% for page in site[name] %}
48
- {% capture i %}
49
- {% increment index %}
50
- {% endcapture %}
51
-
52
- {% capture _i %}{% cycle 'odd', 'even' %}{% endcapture %}
53
-
54
- <section class="wrapper {% if _i == 'even' %} alt {% endif %} spotlight style{{index}}">
55
- <div class="inner">
56
- <a href="{{ page.url }}" class="image"><img src="{{ page.image }}" alt="" /></a>
57
- <div class="content">
58
- <h2 class="major">{{page.title}}</h2>
59
- <p>{{page.description}}</p>
60
- <a href="{{ page.url }}" class="special">Learn more</a>
61
- </div>
62
- </div>
63
- </section>
64
-
65
-
66
- {% endfor %}
67
- {% endif %}
68
- {% endfor %}
41
+ {{ content }}
42
+
43
+ {% for item in site.main %}
44
+
45
+ {% capture i %}{% increment index %}{% endcapture %}
46
+ {% capture _i %}{% cycle 'odd', 'even' %}{% endcapture %}
47
+ {% assign index = forloop.index %}
48
+
49
+ <section class="wrapper {% if _i == 'even' %} alt {% endif %} spotlight style{{ index }}">
50
+ <div class="inner">
51
+ <a href="{{ item.url }}" class="image"><img src="{{ item.image }}" alt="" /></a>
52
+ <div class="content">
53
+ <h2 class="major">{{item.title}}</h2>
54
+ <p>{{item.description}}</p>
55
+ <a href="{{ item.url }}" class="special">Learn more</a>
56
+ </div>
57
+ </div>
58
+ </section>
59
+
60
+ {% endfor %}
69
61
 
70
62
  <!-- Four -->
71
63
  <section id="four" class="wrapper alt style1">
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-mrwooo-solid-state
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.001
4
+ version: 0.2.002
5
5
  platform: ruby
6
6
  authors:
7
7
  - MrWooo