hey-world 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_layouts/home.html +27 -0
- data/_sass/2-base/_base.scss +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4a0fdfed915a98c86617c34b9fa736b407c57b2facf74fd44cdf6207c7ffaa1
|
4
|
+
data.tar.gz: 7617c641921d58577eabd449f15202bddf2d4067ad76b4437c97815500491340
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35db282d8bf13249ad3c246cb085855eff5f3d5fc93cfea9fca4d10ab13598c1af34d7bb0aa137a9ee3c02f2440fcfd202568cdb8ece4e832ce377914c59edf6
|
7
|
+
data.tar.gz: d796f597f10a6832e3e356364750e9ff71511e64fb20a2a15f770a483fdf898f751ef407646759b9cd8ef78e9096cf0c61a0b1d7902edfb0e29d6266cd065162
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{% if site.mailchimp %} {% include subscribe-form.html %} {% endif %} {% for
|
6
|
+
post in site.posts %}
|
7
|
+
<div class="grid-item">
|
8
|
+
<article class="post-container">
|
9
|
+
<span class="date"> {{ post.date | date: '%B %d, %Y' }} </span>
|
10
|
+
<p class="post-title">{{post.title}}</p>
|
11
|
+
<p class="excerpt">
|
12
|
+
{% if post.description %}{{ post.description }}{% else %}{{ post.content |
|
13
|
+
strip_html | truncate: 300 }}{% endif %}
|
14
|
+
</p>
|
15
|
+
<a class="card-link" href="{{post.url}}"></a>
|
16
|
+
<div class="read-more-section">
|
17
|
+
<span class="read-more-button">Read more</span>
|
18
|
+
</div>
|
19
|
+
</article>
|
20
|
+
</div>
|
21
|
+
{% endfor %} {% if paginator.next_page %}
|
22
|
+
<div class="grid-item">
|
23
|
+
<div class="pagination">
|
24
|
+
<a class="pagination-next" href="{{post.url}}">See more posts »</a>
|
25
|
+
</div>
|
26
|
+
</div>
|
27
|
+
{% endif %}
|
data/_sass/2-base/_base.scss
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hey-world
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcus Heng
|
@@ -71,6 +71,7 @@ files:
|
|
71
71
|
- _includes/main.scss
|
72
72
|
- _includes/subscribe-form.html
|
73
73
|
- _layouts/default.html
|
74
|
+
- _layouts/home.html
|
74
75
|
- _layouts/page.html
|
75
76
|
- _layouts/post.html
|
76
77
|
- _sass/2-base/_base.scss
|