jumbo-jekyll-theme 4.0.0 → 4.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/pagination.html +10 -10
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aa18396e23ec3a35a2fdae4a3f90f986812bcf73bccc2a2c10389201b4a09547
4
- data.tar.gz: d09b383d2877266c23a8930664f1d143bc9e35d78e202ead51faeccb64860f14
3
+ metadata.gz: 18526a9669a5b2600daa5ee3e1c3e227268f19b474314971206d97c5a3b18de7
4
+ data.tar.gz: c1e13a1c073c96f21ce00b19964a3a08fb5ab09871bd6f2d81a134506c395962
5
5
  SHA512:
6
- metadata.gz: 46fbd0bc641f01cea43f90b0d2374d4b03b08189ad278535b7d2ac3ae3fd6f5ead088f807cf849753576528e743780c8032374dc1b98c952e6006eebf5cb3cf6
7
- data.tar.gz: 5c564e9d8354bd7e751ed09c4012dfbe463f873c8ea011ad9d502eb49d62cbcdfd2a7cdb94f67e4b4178847bb42686246b64e4805b3f8a1825f522e71c9186cc
6
+ metadata.gz: 8a31566935add64bf2ad7a5a7976bf0a7c36c8b3f261715a90bc4a78b8c3b8a45dd7d7be213b4079f39408d2cb4acd26cb05126eb84cdbd8c18d2b4ea9288f21
7
+ data.tar.gz: 9dc8e958b34636771046ef034bad719eb4fa57142dc7392c378430e08b3f87e614ae2e75fd08fca01ee3c148532d2f275b096273b64faa67791621af0b88e05c
@@ -4,18 +4,18 @@
4
4
  <div class="text-center" id="pagination_panel">
5
5
  <ul class="pagination pagination-sm">
6
6
  {% if paginator.previous_page %}
7
- <li><a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">&laquo; Prev</a></li>
7
+ <li><a href="{{ paginator.previous_page | prepend: site.baseurl | replace: '//', '/' }}">&laquo; Prev</a></li>
8
8
  {% else %}
9
9
  <li><a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">&laquo; Prev</a></li>
10
10
  {% endif %}
11
- {% if paginator.page_trail %}
12
- {% for trail in paginator.page_trail %}
13
- <li {% if page.url == trail.path %}class="active"{% endif %}>
14
- <a href="{% if trail.num == 1 %}{{paginate_base_path}}{% else %}
15
- {{ paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', trail.num }}{% endif %}"
16
- title="{{trail.title}}">{{ trail.num }}</a>
17
- </li>
18
- {% endfor %}
11
+ {% if paginator.page_trail %}
12
+ {% for trail in paginator.page_trail %}
13
+ <li {% if page.url == trail.path %}class="active"{% endif %}>
14
+ <a href="{% if trail.num == 1 %}{{paginate_base_path[0]}}{% else %}
15
+ {{ paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', trail.num }}{% endif %}"
16
+ title="{{trail.title}}">{{ trail.num }}</a>
17
+ </li>
18
+ {% endfor %}
19
19
  {% else %}
20
20
  {% for page in (1..paginator.total_pages) %}
21
21
  {% if page == paginator.page %}
@@ -34,4 +34,4 @@
34
34
  {% endif %}
35
35
  </ul>
36
36
  </div>
37
- {% endif %}
37
+ {% endif %}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jumbo-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0
4
+ version: 4.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby