jekyll-theme-nn 0.1.16 → 0.1.17
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ee2b79d11f0e52e08c964f341ac220e0473ec3c
|
4
|
+
data.tar.gz: 808e8f55a2c2399d2925938a8839545ed7131a4a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0419ec7a3adba7a3334f6643bb8a511398e4e32248e538417b4e9686c72420fa87b57980ff3461b1392f73e667d36e91c99a3ea902b6603ad71b3416ee8a3c0
|
7
|
+
data.tar.gz: d7f203b8e98a877be572254d0b7d188c6046d7d2cb859897ab1c252fddf749d72a1fc8a933b09dc1ea0decbc8807972d94466bfb35b39646588fa1cc7d0395dd
|
@@ -0,0 +1,26 @@
|
|
1
|
+
{% for post in site.posts %}
|
2
|
+
<div class="card">
|
3
|
+
<div class="card-content">
|
4
|
+
<a href="{{ post.url | relative_url }}">
|
5
|
+
<p class="title is-4 has-text-info">
|
6
|
+
{{ post.title }}
|
7
|
+
</p>
|
8
|
+
</a>
|
9
|
+
<p class="subtitle is-6">
|
10
|
+
{{ post.date | date: "%Y-%m-%d" }}
|
11
|
+
</p>
|
12
|
+
<p class="content">
|
13
|
+
{% for category in post.categories %}
|
14
|
+
<span class="tag is-info">
|
15
|
+
{{ category | escape }}
|
16
|
+
</span>
|
17
|
+
{% endfor %}
|
18
|
+
{% for tag in post.tags %}
|
19
|
+
<span class="tag is-light">
|
20
|
+
{{ tag | escape }}
|
21
|
+
</span>
|
22
|
+
{% endfor %}
|
23
|
+
</p>
|
24
|
+
</div>
|
25
|
+
</div>
|
26
|
+
{% endfor %}
|
@@ -33,14 +33,16 @@ This template expects the following variables to be defined when including it:
|
|
33
33
|
<div class="level-item">
|
34
34
|
<div class="tags">
|
35
35
|
{% for category in post.categories %}
|
36
|
-
|
36
|
+
{% assign cat_page = category | slugify | append: ".html" %}
|
37
|
+
<a href="{{ cat_page | prepend: "/category/" | relative_url }}" class="tag is-info">
|
37
38
|
{{ category | escape }}
|
38
|
-
</
|
39
|
+
</a>
|
39
40
|
{% endfor %}
|
40
41
|
{% for tag in post.tags %}
|
41
|
-
|
42
|
+
{% assign tag_page = tag | slugify | append: ".html" %}
|
43
|
+
<a href="{{ tag_page | prepend: "/tags/" | relative_url }}" class="tag is-light">
|
42
44
|
{{ tag | escape }}
|
43
|
-
</
|
45
|
+
</a>
|
44
46
|
{% if forloop.index > 3 %}
|
45
47
|
{% break %}
|
46
48
|
{% endif %}
|
@@ -44,20 +44,22 @@ next, and last posts in the series.
|
|
44
44
|
{% assign series_page = page.series | slugify | append: ".html" %}
|
45
45
|
<hr>
|
46
46
|
<section class="series-footer">
|
47
|
-
<
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
<
|
56
|
-
|
57
|
-
|
58
|
-
|
47
|
+
<a href="{{ series_page | prepend: "/series/" | relative_url }}"
|
48
|
+
class="link-wrapper content">
|
49
|
+
<div class="level is-mobile">
|
50
|
+
<div class="level-center">
|
51
|
+
<div class="level-item is-narrow">
|
52
|
+
{% include components/feather-icon.html
|
53
|
+
icon="archive" class="has-text-info" %}
|
54
|
+
</div>
|
55
|
+
<div class="level-item is-narrow">
|
56
|
+
<p class="has-text-info has-text-weight-semibold is-size-5">
|
57
|
+
{{ page.series }}
|
58
|
+
</p>
|
59
|
+
</div>
|
60
|
+
</div>
|
59
61
|
</div>
|
60
|
-
</
|
62
|
+
</a>
|
61
63
|
<nav class="pagination is-centered" role="navigation"
|
62
64
|
aria-label="pagination">
|
63
65
|
{% if index > '1' %}
|
@@ -4,14 +4,20 @@
|
|
4
4
|
<div class="level-left">
|
5
5
|
</div>
|
6
6
|
<div class="level-right">
|
7
|
-
<
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
7
|
+
<div class="level-item">
|
8
|
+
{% include components/feather-icon.html
|
9
|
+
icon="archive" class="has-text-info" %}
|
10
|
+
</div>
|
11
|
+
<div class="level-item">
|
12
|
+
<p class="series-header is-italic">
|
13
|
+
Part of the series
|
14
|
+
<a href="{{ series_page | prepend: "/series/" | relative_url }}"
|
15
|
+
class="link-wrapper-inline">
|
16
|
+
<span class="has-text-info has-text-weight-semibold">
|
17
|
+
{{ page.series }}
|
18
|
+
</span>
|
19
|
+
</a>
|
20
|
+
</p>
|
21
|
+
</div>
|
16
22
|
</div>
|
17
23
|
</section>
|
data/_sass/_bulma-tweaks.scss
CHANGED
@@ -3,8 +3,8 @@
|
|
3
3
|
}
|
4
4
|
|
5
5
|
.feather {
|
6
|
-
width: 1.
|
7
|
-
height: 1.
|
6
|
+
width: 1.5rem;
|
7
|
+
height: 1.5rem;
|
8
8
|
stroke: currentColor;
|
9
9
|
stroke-width: 2;
|
10
10
|
stroke-linecap: round;
|
@@ -44,3 +44,48 @@
|
|
44
44
|
height: 0;
|
45
45
|
clear: both;
|
46
46
|
}
|
47
|
+
|
48
|
+
.level.is-mobile .level-center {
|
49
|
+
display: -webkit-box;
|
50
|
+
display: -ms-flexbox;
|
51
|
+
display: flex;
|
52
|
+
}
|
53
|
+
|
54
|
+
.level-center {
|
55
|
+
-ms-flex-preferred-size: auto;
|
56
|
+
flex-basis: auto;
|
57
|
+
-webkit-box-flex: 1;
|
58
|
+
-ms-flex-positive: 1;
|
59
|
+
flex-grow: 1;
|
60
|
+
-ms-flex-negative: 0;
|
61
|
+
flex-shrink: 0;
|
62
|
+
}
|
63
|
+
|
64
|
+
.level-center .level-item.is-flexible{
|
65
|
+
-webkit-box-flex: 1;
|
66
|
+
-ms-flex-positive: 1;
|
67
|
+
flex-grow: 1;
|
68
|
+
}
|
69
|
+
|
70
|
+
@media screen and (min-width: 769px), print {
|
71
|
+
.level-center .level-item:not(:last-child) {
|
72
|
+
margin-right: 0.75rem;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
.level-center {
|
77
|
+
-webkit-box-align: center;
|
78
|
+
-ms-flex-align: center;
|
79
|
+
align-items: center;
|
80
|
+
-webkit-box-pack: start;
|
81
|
+
-ms-flex-pack: start;
|
82
|
+
justify-content: center;
|
83
|
+
}
|
84
|
+
|
85
|
+
@media screen and (min-width: 769px), print {
|
86
|
+
.level-center {
|
87
|
+
display: -webkit-box;
|
88
|
+
display: -ms-flexbox;
|
89
|
+
display: flex;
|
90
|
+
}
|
91
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-nn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicholas Nooney
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -67,6 +67,7 @@ files:
|
|
67
67
|
- _includes/components/made-with.html
|
68
68
|
- _includes/components/menu.html
|
69
69
|
- _includes/components/open-graph.html
|
70
|
+
- _includes/components/post-cards.html
|
70
71
|
- _includes/components/post-snippet.html
|
71
72
|
- _includes/components/post-table.html
|
72
73
|
- _includes/components/recent-posts.html
|