panthera-jekyll 1.3.5 → 1.3.6
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.
- checksums.yaml +4 -4
- data/_includes/all-posts.html +1 -30
- data/_includes/posts/index.html +31 -0
- data/_sass/includes/all-posts.scss +0 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 409d41d6f729bbb21ae74a35920a9e124a089e4185188ba2a5c1235f7d14cf63
|
|
4
|
+
data.tar.gz: 698fec45346aa6cdef845894bcd7ed02160798cec0d88ba07d09c728e5243cfa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c719498cf61233da8ef4e555fee8ad6db596496e713bd8b34ffca4003444a1462e650e0464aaed43e135da693415db433ed606d1d6869b80d6327f45e2e04c45
|
|
7
|
+
data.tar.gz: 0e18d49554c275a210ed1202bedd8ef1501eb08e66fcdfbce59e3b193619f9844500c69da95d14d4cda732cdc24f018533a5ee8d68250f2b84e3e3e9e64c89b8
|
data/_includes/all-posts.html
CHANGED
|
@@ -1,31 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
3
|
-
{% for post in site.posts %}
|
|
4
|
-
<div class="pan-post-list__item">
|
|
5
|
-
<div class="pan-post-list--left">
|
|
6
|
-
<div class="pan-post-list--image">
|
|
7
|
-
{% if post.image %}
|
|
8
|
-
<a href="{{ post.url | relative_url }}" style="background-image: url({{ post.image | relative_url }});"></a>
|
|
9
|
-
{% else %}
|
|
10
|
-
<a href="{{ post.url | relative_url }}"></a>
|
|
11
|
-
{% endif %}
|
|
12
|
-
</div>
|
|
13
|
-
</div>
|
|
14
|
-
<div class="pan-post-list--right">
|
|
15
|
-
<div class="pan-post-list--content">
|
|
16
|
-
<div class="pan-post-list--body">
|
|
17
|
-
<h2><a href="{{ post.url | relative_url }}">{{ post.title }}</a></h2>
|
|
18
|
-
<p class="info">
|
|
19
|
-
<span>{{ post.date | date: '%Y, %b %d' }}</span>
|
|
20
|
-
-
|
|
21
|
-
<span>{% capture words %}{{ post.content | number_of_words }}{% endcapture %}{% unless words contains "-" %}{{ words | plus: 250 | divided_by: 250 | append: " minute read" }}{% endunless %}</span>
|
|
22
|
-
</p>
|
|
23
|
-
<p class="desc">{{ post.content | strip_html | truncatewords: 20 }}</p>
|
|
24
|
-
</div>
|
|
25
|
-
</div>
|
|
26
|
-
</div>
|
|
27
|
-
</div>
|
|
28
|
-
{% endfor %}
|
|
29
|
-
</section>
|
|
30
|
-
|
|
31
|
-
{% include pagination.html %}
|
|
2
|
+
{% include posts/index.html %}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
|
|
2
|
+
<section class="pan-post-list">
|
|
3
|
+
{% for post in site.posts %}
|
|
4
|
+
<div class="pan-post-list__item">
|
|
5
|
+
<div class="pan-post-list--left">
|
|
6
|
+
<div class="pan-post-list--image">
|
|
7
|
+
{% if post.image %}
|
|
8
|
+
<a href="{{ post.url | relative_url }}" style="background-image: url({{ post.image | relative_url }});"></a>
|
|
9
|
+
{% else %}
|
|
10
|
+
<a href="{{ post.url | relative_url }}"></a>
|
|
11
|
+
{% endif %}
|
|
12
|
+
</div>
|
|
13
|
+
</div>
|
|
14
|
+
<div class="pan-post-list--right">
|
|
15
|
+
<div class="pan-post-list--content">
|
|
16
|
+
<div class="pan-post-list--body">
|
|
17
|
+
<h2><a href="{{ post.url | relative_url }}">{{ post.title }}</a></h2>
|
|
18
|
+
<p class="info">
|
|
19
|
+
<span>{{ post.date | date: '%Y, %b %d' }}</span>
|
|
20
|
+
-
|
|
21
|
+
<span>{% capture words %}{{ post.content | number_of_words }}{% endcapture %}{% unless words contains "-" %}{{ words | plus: 250 | divided_by: 250 | append: " minute read" }}{% endunless %}</span>
|
|
22
|
+
</p>
|
|
23
|
+
<p class="desc">{{ post.content | strip_html | truncatewords: 20 }}</p>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
{% endfor %}
|
|
29
|
+
</section>
|
|
30
|
+
|
|
31
|
+
{% include pagination.html %}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: panthera-jekyll
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Christian Ezeani
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-07-
|
|
11
|
+
date: 2020-07-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -80,6 +80,7 @@ files:
|
|
|
80
80
|
- _includes/header.html
|
|
81
81
|
- _includes/left.html
|
|
82
82
|
- _includes/pagination.html
|
|
83
|
+
- _includes/posts/index.html
|
|
83
84
|
- _layouts/default.html
|
|
84
85
|
- _layouts/page.html
|
|
85
86
|
- _layouts/post.html
|