neeshtheme 0.1.4 → 0.1.5
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 +32 -1
- 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: ea35b0f5223fa78a64715f76ac506eaf356999c9555fe04449a3786e7efc20a9
|
4
|
+
data.tar.gz: 1f4ff15c1c16d81cab729478d2843052065f63268c4b31db7c420b5e9ce8a8a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 778d307afa056520173252f5a842e734b67360ef4c893ebab8daa3f5b0a6f6c1314a3cd524cd9309d0ae342b37a73dc14250a10c335b6eee7c6f88f360d74c0a
|
7
|
+
data.tar.gz: 50ce725b61c6bef82550eb2e127124bb95a4dcc127e7e13d56b8fa76d82be1ff2deb47370c779409d7909f49eb918663db474bebd16e2e7b1cb7ee212b0a25d8
|
data/_layouts/home.html
CHANGED
@@ -2,4 +2,35 @@
|
|
2
2
|
layout: default
|
3
3
|
---
|
4
4
|
|
5
|
-
|
5
|
+
---
|
6
|
+
layout: default
|
7
|
+
---
|
8
|
+
|
9
|
+
<div class="home">
|
10
|
+
{%- if page.title -%}
|
11
|
+
<h1 class="page-heading">{{ page.title }}</h1>
|
12
|
+
{%- endif -%}
|
13
|
+
|
14
|
+
{{ content }}
|
15
|
+
|
16
|
+
{%- if site.posts.size > 0 -%}
|
17
|
+
<h2 class="post-list-heading">{{ page.list_title | default: "Posts" }}</h2>
|
18
|
+
<ul class="post-list">
|
19
|
+
{%- for post in site.posts -%}
|
20
|
+
<li>
|
21
|
+
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
|
22
|
+
<span class="post-meta">{{ post.date | date: date_format }}</span>
|
23
|
+
<h3>
|
24
|
+
<a class="post-link" href="{{ post.url | relative_url }}">
|
25
|
+
{{ post.title | escape }}
|
26
|
+
</a>
|
27
|
+
</h3>
|
28
|
+
{%- if site.show_excerpts -%}
|
29
|
+
{{ post.excerpt }}
|
30
|
+
{%- endif -%}
|
31
|
+
</li>
|
32
|
+
{%- endfor -%}
|
33
|
+
</ul>
|
34
|
+
{%- endif -%}
|
35
|
+
|
36
|
+
</div>
|