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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  3. data/_layouts/home.html +38 -0
  4. metadata +2 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c1d100e2adda501e1d71aae9f28605876a9971630eb6006c699f0c41407e328f
4
- data.tar.gz: 64e6aa88d56f36f84eeac68aa05dfba69970a53d9d9c7c46519a48582d31f3d2
3
+ metadata.gz: 1aa0f6683140f40bd8856e22253740bfaba682a34dca87cc22694588dd834245
4
+ data.tar.gz: 721f322da722e5e423305ccdb66c8f3db970ed359832e4bba09f329e8a58f274
5
5
  SHA512:
6
- metadata.gz: 8d98645b2b4d3bcf9e005dac27c55675f2fa834cbda4a46ee1b0994a96b64f7e4aef88dbdd3b0af8c8ca68a0c4d551add7f3a79c54f69f4036c5b55ee7ad5b93
7
- data.tar.gz: c221330257d939cac37b19d641df5e69533ed0a992246f0c279e558e827a25980ea43c7ea8bb562c488fd13769b43d95a96075c18ee827f5190daf0bbd6b3eb6
6
+ metadata.gz: 2cfef553734a5941f1f259754386ca7a3887ab2f632e74e91e357e03354c9712bfb01e27e15cfd0ffe9f75eaf44346c8d2c2facb0600ae8c6843d101732e4467
7
+ data.tar.gz: dac6ef892695e80f9c8e5a705fd6cc99703a08ff5a3378732de8def2133a061f8540fade4821e23039d47334e30c1ebe487a5902f662048d5a1402caf5a0c4bd
data/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Blue
2
2
 
3
- > Minimalist Jekyll theme (based on Bulma)
3
+ Minimalist Jekyll theme based on Bulma.
4
4
 
5
- Work in progress!
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
@@ -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">&#8592;</a>
30
+ {% endif %}
31
+
32
+ {% if paginator.next_page %}
33
+ <a href="{{ paginator.next_page_path | prepend: site.baseurl }}" class="right-arrow">&#8594;</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.1
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