jekyll-octopod 0.8.5 → 0.8.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll-octopod.rb +1 -1
- data/lib/jekyll/octopod_filters.rb +2 -2
- data/lib/octopod/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d036dd1a4f6453fc8a915b7b601f906cdc3b764b
|
4
|
+
data.tar.gz: 52641eab0a7fdff14e95f2d66c52dbd64c094ae2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d19dd51b6220afbd8fa32e506f5dcdd104f86c5bc14d64613b902f9c8cb5adace8082de7863db0c6705f7fc1da4b0aeff4491a0d4b9f342dc8112ffb4f098ab
|
7
|
+
data.tar.gz: 5f472029f40e06fd0f744d1300b716c58298cad75017fd867ed5bcae737d72fc25403e8cb14f5bcd55190f30c364b41353e578d084c665ecf4c3189390586922
|
data/lib/jekyll-octopod.rb
CHANGED
@@ -205,7 +205,7 @@ module Jekyll
|
|
205
205
|
|
206
206
|
list = []
|
207
207
|
list << pages.map { |p|
|
208
|
-
active = (p.url == page['url']) || (page.
|
208
|
+
active = (p.url == page['url']) || (page.key?('next') && File.join(p.dir, p.basename) == '/index')
|
209
209
|
navigation_list_item(File.join(site['url'], p.url), p.data['title'], active)
|
210
210
|
}
|
211
211
|
list.join("\n")
|
@@ -219,7 +219,7 @@ module Jekyll
|
|
219
219
|
list = ['<li class="dropdown"><a class="dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false"> Talks <span class="caret"></span>
|
220
220
|
</a><ul class="dropdown-menu">']
|
221
221
|
list << pages.map { |p|
|
222
|
-
active = (p.url == page['url']) || (page.
|
222
|
+
active = (p.url == page['url']) || (page.key?('next') && File.join(p.dir, p.basename) == '/index')
|
223
223
|
navigation_list_item(File.join(site['url'], p.url), p.data['title'], active)
|
224
224
|
}
|
225
225
|
list << ['</ul></li>']
|
data/lib/octopod/version.rb
CHANGED