garth-jekyll-theme 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/post-list.html +23 -23
- data/_includes/site-nav.html +4 -4
- metadata +18 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 34d00d90108c4c1c357fd89810afa0d4787e2b45
|
4
|
+
data.tar.gz: 177aabe2852ea082fd0dcee55e6148f49bf6e3d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 268034da26cbf022d0773061387b4393fd9995e6cbbdac8d59115091bffcb3a11eef75db05c53c1cfff73a52e2497f267f55a0f9ffc471ad3f1fcc4370ecec59
|
7
|
+
data.tar.gz: ea6bf638ec4d464641fe33d5ec953b92b2459685a37d99db78708546d59c09491c46d2887a0e85a17f96419b327a0d2cf78938c7fde5ae5d39eddceb777fe54b
|
data/_includes/post-list.html
CHANGED
@@ -1,34 +1,34 @@
|
|
1
1
|
{% if paginator.posts %}
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
3
|
+
<ul class="list list--posts">
|
4
|
+
{% for page in paginator.posts %}
|
5
|
+
<li class="item item--post">
|
6
|
+
<article class="article article--post typeset">
|
7
7
|
|
8
|
-
|
9
|
-
|
10
|
-
|
8
|
+
<h2><a href="{{ site.baseurl }}{{ page.url }}">{{ page.title }}</a></h2>
|
9
|
+
{% include post-meta.html %}
|
10
|
+
{{ page.excerpt | markdownify | truncatewords: 60 }}
|
11
11
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
12
|
+
</article>
|
13
|
+
</li>
|
14
|
+
{% endfor %}
|
15
|
+
</ul>
|
16
|
+
{% include post-pagination.html %}
|
17
17
|
|
18
18
|
{% else %}
|
19
19
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
20
|
+
<ul class="list list--posts">
|
21
|
+
{% for page in site.posts %}
|
22
|
+
<li class="item item--post">
|
23
|
+
<article class="article article--post typeset">
|
24
24
|
|
25
|
-
|
26
|
-
|
27
|
-
|
25
|
+
<h2><a href="{{ site.baseurl }}{{ page.url }}">{{ page.title }}</a></h2>
|
26
|
+
{% include post-meta.html %}
|
27
|
+
{{ page.excerpt | markdownify | truncatewords: 60 }}
|
28
28
|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
29
|
+
</article>
|
30
|
+
</li>
|
31
|
+
{% endfor %}
|
32
|
+
</ul>
|
33
33
|
|
34
34
|
{% endif %}
|
data/_includes/site-nav.html
CHANGED
@@ -4,11 +4,11 @@
|
|
4
4
|
{% unless item.title == false or item.url contains "/page" or item.url contains "/404.html" or item.url contains "/feed." %}
|
5
5
|
<li class="item item--nav{% if item.url == page.url %} item--current{% endif %}">
|
6
6
|
{% if item.collectionpage %}
|
7
|
-
|
8
|
-
|
9
|
-
|
7
|
+
{% assign collectiondata = site.collections | where: "label", item.collectionpage | first %}
|
8
|
+
<a href="{{ site.baseurl }}{{ item.url }}">{{ collectiondata.title }}</a>
|
9
|
+
{% else %}
|
10
10
|
<a href="{{ site.baseurl }}{{ item.url }}">{{ item.title }}</a>
|
11
|
-
|
11
|
+
{% endif %}
|
12
12
|
</li>
|
13
13
|
{% endunless %}
|
14
14
|
{% endfor %}
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: garth-jekyll-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Darnes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '3.6'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '5.0'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: '3.6'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '5.0'
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: jekyll-paginate
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -42,16 +48,22 @@ dependencies:
|
|
42
48
|
name: bundler
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
44
50
|
requirements:
|
45
|
-
- - "
|
51
|
+
- - ">="
|
46
52
|
- !ruby/object:Gem::Version
|
47
53
|
version: '1.14'
|
54
|
+
- - "<"
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '3.0'
|
48
57
|
type: :development
|
49
58
|
prerelease: false
|
50
59
|
version_requirements: !ruby/object:Gem::Requirement
|
51
60
|
requirements:
|
52
|
-
- - "
|
61
|
+
- - ">="
|
53
62
|
- !ruby/object:Gem::Version
|
54
63
|
version: '1.14'
|
64
|
+
- - "<"
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '3.0'
|
55
67
|
description: A really basic theme for Jekyll, using the official Jekyll theme implementation.
|
56
68
|
email:
|
57
69
|
- me@daviddarnes.com
|