jekyll-theme-nn 0.1.13 → 0.1.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/_includes/components/featured-image.html +11 -4
- data/_includes/components/menu.html +1 -1
- data/_includes/components/open-graph.html +5 -3
- data/_includes/components/post-snippet.html +52 -31
- data/_includes/components/recent-posts.html +1 -1
- data/_sass/_bulma-tweaks.scss +3 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: c3efe9fae97704ae6b1053f533efd9d50dbb3a56
|
4
|
+
data.tar.gz: 933c2b8d84a6e254c56788b7c9e9e3556edc03b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1035e5d1e7ecca7e13984b25a9a550c362d23d7c8894a2bebf84d3ece3b56e969a0b9672194f88f31e4c9a194b695e6635c0bcd87b45feb492f338b9d4623eb5
|
7
|
+
data.tar.gz: a38f4cd28e0b208487bfcbc1899586616f3773a9365e236115cbc73d1b794cdf3ab4b48764939c7832ccebfe300f5c95e716f3e0572762c6639743a63b473ab5
|
@@ -1,10 +1,17 @@
|
|
1
|
+
{% comment %}
|
2
|
+
This template expects the following variables to be defined when including it:
|
3
|
+
- post: A reference to the Jekyll post variable.
|
4
|
+
{% endcomment %}
|
5
|
+
|
1
6
|
<div class="featured-image-container">
|
2
|
-
<figure
|
7
|
+
<figure>
|
3
8
|
<div class="box">
|
9
|
+
{% if include.post.featured-image.src %}
|
4
10
|
{% asset
|
5
|
-
|
6
|
-
|
7
|
-
|
11
|
+
"{{ include.post.featured-image.src }}"
|
12
|
+
magick:resize=400x400>
|
13
|
+
alt="{{ include.post.featured-image.alt }}" %}
|
14
|
+
{% endif %}
|
8
15
|
</div>
|
9
16
|
</figure>
|
10
17
|
</div>
|
@@ -29,10 +29,12 @@
|
|
29
29
|
<meta content="{{ page.date | date_to_xmlschema }}" property="article:published_time">
|
30
30
|
{% endif %}
|
31
31
|
|
32
|
-
{% if page.featured-image %}
|
33
|
-
<meta content="{{ site.url }}{% asset '{{ page.featured-image }}' @path %}"
|
32
|
+
{% if page.featured-image and page.featured-image.src %}
|
33
|
+
<meta content="{{ site.url }}{% asset '{{ page.featured-image.src }}' @path %}"
|
34
|
+
property="og:image">
|
34
35
|
{% else %}
|
35
|
-
<meta content="{{ site.url }}{% asset '{{ site.logo }}' @path %}"
|
36
|
+
<meta content="{{ site.url }}{% asset '{{ site.logo }}' @path %}"
|
37
|
+
property="og:image">
|
36
38
|
{% endif %}
|
37
39
|
|
38
40
|
{% if page.categories %}
|
@@ -1,40 +1,61 @@
|
|
1
|
+
{% comment %}
|
2
|
+
This template expects the following variables to be defined when including it:
|
3
|
+
- post: A reference to the Jekyll post variable.
|
4
|
+
{% endcomment %}
|
5
|
+
|
1
6
|
<article class="media">
|
2
7
|
<div class="media-content">
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
8
|
+
{% if include.post.featured-image %}
|
9
|
+
<div class="columns">
|
10
|
+
<div class="column is-one-quarter">
|
11
|
+
{% include components/featured-image.html
|
12
|
+
post=include.post %}
|
13
|
+
</div>
|
14
|
+
<div class="column">
|
15
|
+
{% endif %}
|
16
|
+
<div class="content">
|
17
|
+
<div class="level">
|
18
|
+
<div class="level-left">
|
19
|
+
<div class="level-item">
|
20
|
+
<div class="wrapper">
|
21
|
+
<p class="title is-4">
|
22
|
+
<a href="{{ post.url | relative_url }}">
|
23
|
+
{{ post.title | escape }}
|
24
|
+
</a>
|
25
|
+
</p>
|
26
|
+
<p class="subtitle is-6">
|
27
|
+
{{ post.date | date: "%b %-d, %Y" }}
|
28
|
+
</p>
|
29
|
+
</div>
|
30
|
+
</div>
|
31
|
+
</div>
|
32
|
+
<div class="level-right">
|
33
|
+
<div class="level-item">
|
34
|
+
<div class="tags">
|
35
|
+
{% for category in post.categories %}
|
36
|
+
<span class="tag is-info">
|
37
|
+
{{ category | escape }}
|
38
|
+
</span>
|
39
|
+
{% endfor %}
|
40
|
+
{% for tag in post.tags %}
|
41
|
+
<span class="tag is-light">
|
42
|
+
{{ tag | escape }}
|
43
|
+
</span>
|
44
|
+
{% if forloop.index > 3 %}
|
45
|
+
{% break %}
|
46
|
+
{% endif %}
|
47
|
+
{% endfor %}
|
48
|
+
</div>
|
49
|
+
</div>
|
50
|
+
</div>
|
15
51
|
</div>
|
16
|
-
|
17
|
-
|
18
|
-
<div class="tags">
|
19
|
-
{% for category in post.categories %}
|
20
|
-
<span class="tag is-info">
|
21
|
-
{{ category | escape }}
|
22
|
-
</span>
|
23
|
-
{% endfor %}
|
24
|
-
{% for tag in post.tags %}
|
25
|
-
<span class="tag is-light">
|
26
|
-
{{ tag | escape }}
|
27
|
-
</span>
|
28
|
-
{% if forloop.index > 3 %}
|
29
|
-
{% break %}
|
30
|
-
{% endif %}
|
31
|
-
{% endfor %}
|
52
|
+
<div class="post-excerpt">
|
53
|
+
{{ post.excerpt }}
|
32
54
|
</div>
|
33
55
|
</div>
|
34
|
-
|
35
|
-
<div class="post-excerpt">
|
36
|
-
{{ post.excerpt }}
|
56
|
+
{% if page.featured-image %}
|
37
57
|
</div>
|
38
58
|
</div>
|
59
|
+
{% endif %}
|
39
60
|
</div>
|
40
61
|
</article>
|
data/_sass/_bulma-tweaks.scss
CHANGED
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.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nicholas Nooney
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-05-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -114,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
114
114
|
version: '0'
|
115
115
|
requirements: []
|
116
116
|
rubyforge_project:
|
117
|
-
rubygems_version: 2.
|
117
|
+
rubygems_version: 2.5.2.3
|
118
118
|
signing_key:
|
119
119
|
specification_version: 4
|
120
120
|
summary: Nicholas Nooney's custom jekyll theme
|