fenton-jekyll-boilerplate 0.0.12 → 0.0.13

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 (3) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/navigation.html +2 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9c9147748f6d04738a5ac523a9bb3152e3b20e63a93d3a0800c29a139925efc4
4
- data.tar.gz: 36bcab32d83e1efd66eba6d00aa55fe1f563e7fb04bfe2c5fa8712511ff7e8f4
3
+ metadata.gz: 24baa59c2c4906b3070f0707dfd96b27e6dec1b249b4450b285b8ddd04bafde2
4
+ data.tar.gz: '059859afc1cd21a7c046d135001ffc391e2d80baf6be2f095eab46a7abf09189'
5
5
  SHA512:
6
- metadata.gz: ad7d18e6a4da9c033d1ecd9a31d127d41988e4621fa2b7fba6041edc62bb6499309cec55f196b334c4fd060765888a7090391a58aea7dc9421b7e645b6ab7a63
7
- data.tar.gz: d0b0374cfcb23fc215601466c3d6e634259ca71192f7917af4b12a2f6532e45bb965af63350e07a42733dd42bc3c93de5787fbf74d390f5385dd0189768c7caa
6
+ metadata.gz: b55521d33500ad548a419fb85bec040fbf100a57b4350a25970a3cba0e61b2008fc93e65a733e9e9b69ee4bd9f502a275c7d7655914149180133650be3156b9c
7
+ data.tar.gz: 151e8c5a96bfa7ab6be798dbcc3a835b1b697bdce4365b218dd28ea8aab4284791674721f3b7c02103cf0b49540d4e2e6ca23e78be75721c83e8cc3da2b502f0
@@ -18,7 +18,7 @@
18
18
  {%- assign child_perma = p.permalink %}
19
19
  {%- assign child_perma_truncated = child_perma | truncate: parent_perma_size, '' %}
20
20
 
21
- {%- if parent_perma != '/' and child_perma_truncated == parent_perma and child_perma != parent_perma %}
21
+ {%- if p.nav-level != 0 and parent_perma != '/' and child_perma_truncated == parent_perma and child_perma != parent_perma %}
22
22
  {%- assign sub_pages = sub_pages | push: p %}
23
23
  {%- endif %}
24
24
  {%- endfor %}
@@ -36,7 +36,7 @@
36
36
  <li>
37
37
  <a href="{{ item_url }}"{% if item_url == current_url) %} class="current-item" aria-current="page"{% endif %}>{{ item.nav-title | default: item.title }}</a>
38
38
  </li>
39
- {%- for child in sub_pages %}
39
+ {%- for child in sub_pages | sort: 'nav-order' %}
40
40
  <li>
41
41
  <a href="{{ child.url | prepend: site.baseurl }}"{% if child.url == current_url) %} class="current-item" aria-current="page"{% endif %}>{{ child.nav-title | default: child.title }}</a>
42
42
  </li>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fenton-jekyll-boilerplate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Fenton