sustain4-theme 1.7.2 → 1.8.0

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/header.html +14 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bd2ce170f55c8ad7d283c2b14b337880a8f87d4f9351e9cc50aa1119bf4cbb56
4
- data.tar.gz: c472152d1e9ce4ffee14b4311913940f02baeb03e229d91422ba63a930bcae84
3
+ metadata.gz: f98d57a0c57e4be2e8b618f090f863cc854f48805b729a50c32adc74b68e3d3b
4
+ data.tar.gz: ce342b855c2d23441dbc57fd4a5935b56ace2aa3bf9d2891e494157156f551bc
5
5
  SHA512:
6
- metadata.gz: 04b5d74b3474eb681bc17c8c2364da7e76ba6cdd3912836eb6b2bfd7be1bb5041348bb6d8011c1bf15dafcd7b2271fcd055a4c4afd87e125f36366f44d6c49f9
7
- data.tar.gz: 2c1205ff07d6d0436e0c3d52a357a6964e85c1b681336bd51f4dd2893c02aa301fcc2c3a26adb9102cc74879fd0f4f9f7abcc77d392ecb11d150af4ec50d3409
6
+ metadata.gz: cd49b1591ae0cda852494f4ec7d76eaa3e90c44227866780e171919de038b6c46e1e68798d1e552d837392eb2508e360957c79ad94f831eb9b0296a49fa6d728
7
+ data.tar.gz: 8ec9293ec45c30ab4fa17996cf8adc06987f06350a5989e026bdfcbc5aa69338d621b67b454d7907303e8aaf884dba30e3b9091efb42b29fce99445a82832924
@@ -5,7 +5,20 @@
5
5
  </div>
6
6
  <ul class="navbar-nav ml-auto">
7
7
  {% for nav-item in site.menus.navbar %}
8
- <li class="nav-item"><a href="{{ site.baseurl }}{{ nav-item.url }}" class="nav-link text-uppercase">{{ nav-item.title }}</a></li>
8
+ {% if nav-item.children %}
9
+ <li class="nav-item dropdown">
10
+ <a class="nav-link dropdown-toggle text-uppercase" href="{{ nav-item.url }}" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">{{ nav-item.title }}</a>
11
+ <div class="dropdown-menu" aria-labelledby="navbarDropdown">
12
+ {% for child in nav-item.children %}
13
+ <a class="dropdown-item" href="{{ child.url }}">{{ child.title }}</a>
14
+ {% endfor %}
15
+ </div>
16
+ </li>
17
+ {% else %}
18
+ <li class="nav-item">
19
+ <a href="{{ site.baseurl }}{{ nav-item.url }}" class="nav-link text-uppercase">{{ nav-item.title }}</a>
20
+ </li>
21
+ {% endif %}
9
22
  {% endfor %}
10
23
  </ul>
11
24
  </div>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sustain4-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.2
4
+ version: 1.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Pitchko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-05 00:00:00.000000000 Z
11
+ date: 2019-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll