blue-jekyll-theme 0.3.1 → 0.3.2
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/README.md +3 -3
- data/_layouts/home.html +38 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1aa0f6683140f40bd8856e22253740bfaba682a34dca87cc22694588dd834245
|
|
4
|
+
data.tar.gz: 721f322da722e5e423305ccdb66c8f3db970ed359832e4bba09f329e8a58f274
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2cfef553734a5941f1f259754386ca7a3887ab2f632e74e91e357e03354c9712bfb01e27e15cfd0ffe9f75eaf44346c8d2c2facb0600ae8c6843d101732e4467
|
|
7
|
+
data.tar.gz: dac6ef892695e80f9c8e5a705fd6cc99703a08ff5a3378732de8def2133a061f8540fade4821e23039d47334e30c1ebe487a5902f662048d5a1402caf5a0c4bd
|
data/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Blue
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Minimalist Jekyll theme based on Bulma.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
This work is on active development, but currently suitable for use on production.
|
|
6
6
|
|
|
7
7
|
[DEMO](https://jsalvador.me/blue)
|
|
8
8
|
|
|
@@ -33,4 +33,4 @@ Available colors are the same for Bulma (default ones). You can choose between `
|
|
|
33
33
|
|
|
34
34
|
## Licencse
|
|
35
35
|
|
|
36
|
-
MIT License
|
|
36
|
+
MIT License
|
data/_layouts/home.html
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: default
|
|
3
|
+
---
|
|
4
|
+
|
|
5
|
+
<div class="frontpage">
|
|
6
|
+
{% for post in paginator.posts %}
|
|
7
|
+
<div class="frontpage-item">
|
|
8
|
+
<a href="{{ post.url | prepend: site.baseurl }}">
|
|
9
|
+
<h3 class="title is-3">{{ post.title }}</h3>
|
|
10
|
+
</a>
|
|
11
|
+
<time datetime="{{ post.date }}" class="frontpage-time has-text-grey-light">{{ post.date | date: "%B %d, %Y" }}</time>
|
|
12
|
+
|
|
13
|
+
<p class="show-if-mobile">
|
|
14
|
+
{{ post.content | truncatewords: 60 | strip_html }}
|
|
15
|
+
</p>
|
|
16
|
+
|
|
17
|
+
<p class="frontpage-item-readmore">
|
|
18
|
+
<a href="{{ post.url | prepend: site.baseurl }}" class="button is-{{ site.color }}">
|
|
19
|
+
<strong>Read more</strong>
|
|
20
|
+
</a>
|
|
21
|
+
</p>
|
|
22
|
+
<br><br>
|
|
23
|
+
</div>
|
|
24
|
+
{% endfor %}
|
|
25
|
+
</div>
|
|
26
|
+
|
|
27
|
+
<div class="pagination">
|
|
28
|
+
{% if paginator.previous_page %}
|
|
29
|
+
<a href="{{ paginator.previous_page_path | prepend: site.baseurl }}" class="left-arrow">←</a>
|
|
30
|
+
{% endif %}
|
|
31
|
+
|
|
32
|
+
{% if paginator.next_page %}
|
|
33
|
+
<a href="{{ paginator.next_page_path | prepend: site.baseurl }}" class="right-arrow">→</a>
|
|
34
|
+
{% endif %}
|
|
35
|
+
|
|
36
|
+
<span class="page-number">{{ paginator.page }}</span>
|
|
37
|
+
|
|
38
|
+
</div>
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: blue-jekyll-theme
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Juanjo Salvador
|
|
@@ -79,6 +79,7 @@ files:
|
|
|
79
79
|
- _includes/footer.html
|
|
80
80
|
- _includes/head.html
|
|
81
81
|
- _layouts/default.html
|
|
82
|
+
- _layouts/home.html
|
|
82
83
|
- _layouts/page.html
|
|
83
84
|
- _layouts/post.html
|
|
84
85
|
- _sass/code.sass
|