minima-rock 0.9.1 → 0.9.2
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 +3 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 517cb9b28787cf24065e5de7f46aa3d2ad01eda2c536e4a5466091ea0eb66523
|
4
|
+
data.tar.gz: eefc264691a329e8f142a511b8e4185a6fd17c5bc57d39cd6e8844b2860d7055
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9acf2ecad203e699129ef8863fbd2b1d067d2a8b679b2ee5aa4057aa1deb7111110807682489744daad9f755bcb3bfc242afc0e1bbd46a3fc48b5322e4f721c
|
7
|
+
data.tar.gz: 1e160fbbd2a1732c2d962f79520db87646cba64125545e80b0000007ebe2f3369393cba7e8570e7cd786ddb490d7042b70e158f3ff11adcff944e8008ba3afd4
|
data/_layouts/home.html
CHANGED
@@ -9,10 +9,11 @@ layout: default
|
|
9
9
|
|
10
10
|
{{ content }}
|
11
11
|
|
12
|
+
{% assign recent_posts = site.recent_posts | default: 10 %}
|
12
13
|
{%- if site.posts.size > 0 -%}
|
13
|
-
<h2 class="post-list-heading">{{ page.list_title | default: "Posts" }}</h2>
|
14
|
+
<h2 class="post-list-heading">{{ page.list_title | default: "Recent Posts" }}</h2>
|
14
15
|
<ul class="post-list">
|
15
|
-
{%- for post in site.posts -%}
|
16
|
+
{%- for post in site.posts limit:recent_posts -%}
|
16
17
|
<li>
|
17
18
|
{%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
|
18
19
|
<span class="post-meta">{{ post.date | date: date_format }}</span>
|