jumbo-jekyll-theme 1.4.3.30 → 1.4.3.32

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/sticky-tab-bar.html +16 -5
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ce88d187408e8a7b5ee248883be41ea3bb93e303
4
- data.tar.gz: 7fe5a06a9bd2b421d81d13c611a1af1edf7fc75a
3
+ metadata.gz: 95e5e2e5913754ddce4c777a8191227430ed8b12
4
+ data.tar.gz: 815e7477b0550a3ac43a786f16b197ca6d41e684
5
5
  SHA512:
6
- metadata.gz: 83b73e65be535c98ee04a795ad0912cff6dc5b575823a3f7decca29835bca98898b78194893ccd7d13384b1ffad27562359d0a42a6cd1b8d368bf1adee0e860d
7
- data.tar.gz: f59ef17cfb8aa460e7a7ea63c986d8a0a4d77a172f8061cbd37055abfeb9ee5f59e932e3330930233993e906d48e8294998e3bb7d0d4b1cb102527c4eabb4665
6
+ metadata.gz: f0024b33021599aaa63cbafc24c82ff6c0f2120f2d99bcfd1b4f5f0e35172fbf3070fec9c79441da9200feed3998aef4e1d9e3452a67b1957aaaef5f73bcfc42
7
+ data.tar.gz: 29319d4a4f8cf9a1e007791f6d01a5579b7cb9abe4b1faf7f26e48f419637abe27f318aca4639c3999a3e23a7708f09f6d277fdc84a626cc3255c5160dae7cde
@@ -10,10 +10,14 @@
10
10
  {% if each.list %}
11
11
  {% assign tab-list = each.list %}
12
12
  {% endif %}
13
- {% elsif each.sub-pages %}
14
- {% if page.url contains each-url %}
15
-
16
- {%%}
13
+ {% elsif each.sub-pages-enabled %}
14
+ {% for individual-page in each.list %}
15
+ {% if individual-page.sub-pages %}
16
+ {% if page.url in individual-page.url %}
17
+ {% assign tab-list = each.list %}
18
+ {% endif %}
19
+ {% endif %}
20
+ {% endfor %}
17
21
  {% endif %}
18
22
  {% endfor %}
19
23
  {% if each.custom-include %}
@@ -40,7 +44,14 @@
40
44
  <div class="collapse navbar-collapse" id="tabbed-nav-bar-collapse"><!-- Navbar Collapse -->
41
45
  <ul class="nav nav-tabs tabbed-nav" id="tab-row" role="tablist">
42
46
  {% for tab in tab-list %}
43
- <li role="presentation" {% if page.url == tab.url %}class="active tabbed-nav-btn"{% else %}class="tabbed-nav-btn"{% endif %}><a href="{{tab.url}}" aria-controls="overview" role="link">{{tab.title}}</a></li>
47
+ <li role="presentation" {% if page.url == tab.url %}
48
+ class="active tabbed-nav-btn"
49
+ {% else %}
50
+ class="tabbed-nav-btn"
51
+ {% elsif tab.sub-pages and page.url contains tab.url %}
52
+ class="active tabbed-nav-btn"
53
+ {% endif %}>
54
+ <a href="{{tab.url}}" aria-controls="overview" role="link">{{tab.title}}</a></li>
44
55
  {% endfor %}
45
56
  </ul>
46
57
  </div>
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: 1.4.3.30
4
+ version: 1.4.3.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby