neeshtheme 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/_layouts/home.html +32 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cbf7b411aa2641d85596f1ed57b09d0feb605e38ab662b724e8d360c6eeafeab
4
- data.tar.gz: 963e41b39bba61084aba82ebe3608c8cd30a2d3cfba7f05c203cbf24d0858cb7
3
+ metadata.gz: ea35b0f5223fa78a64715f76ac506eaf356999c9555fe04449a3786e7efc20a9
4
+ data.tar.gz: 1f4ff15c1c16d81cab729478d2843052065f63268c4b31db7c420b5e9ce8a8a8
5
5
  SHA512:
6
- metadata.gz: 8f5958f15ab78184d4a202df6cac93254f5ce1e31f9763d07591311a8d4382d86515dbbf2986bc2f853de52ab707fcd5684496a3b89dc5ce45b3e62513af8016
7
- data.tar.gz: 9af20723849cdabe02e3494fa730275e2bf55bed83f1aac6d5593006c5be22177ab76159576be4532621aa2536e20de549271cb510d55774d8aa90d037ec36ca
6
+ metadata.gz: 778d307afa056520173252f5a842e734b67360ef4c893ebab8daa3f5b0a6f6c1314a3cd524cd9309d0ae342b37a73dc14250a10c335b6eee7c6f88f360d74c0a
7
+ data.tar.gz: 50ce725b61c6bef82550eb2e127124bb95a4dcc127e7e13d56b8fa76d82be1ff2deb47370c779409d7909f49eb918663db474bebd16e2e7b1cb7ee212b0a25d8
@@ -2,4 +2,35 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- {{ content }}
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>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neeshtheme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - MisterMjir