linaro-jekyll-theme 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ac9e3aeb76aa682c980a0549e466ae99707edd73
4
- data.tar.gz: 9a7e32ef230071efad36b9791bcc64204af7318f
3
+ metadata.gz: f2223d29e54dfee3d1c0cf8d4c2acef92a34df2b
4
+ data.tar.gz: 7214b78339598505a6dd13708cbb348d76a42c16
5
5
  SHA512:
6
- metadata.gz: b65cdb928baa4d9bf0a9bbeedcac04916a2d5beb09f0d2f713fc70b32c5102943db9a225afd14784d37b7494e1472d80aef173dcdf57041daab1510d488b182e
7
- data.tar.gz: 62ac12075e36ac5c9e80cb07daafa6e417962ba591f89ae0991e893b7926fdff3000fc865daa79971def4cc8e4eb0ac5ddf740825719139cf063482123891be2
6
+ metadata.gz: a4b1a5fa0f0cb215439b8e67d1a8f90d7fdea0d44011500b6496a523e7fb69be9997928b92d619aabc0a9e162db19a86f460f40c899c3375d79ea413194fc842
7
+ data.tar.gz: 7947bf67d9ddb817fa37877a0946ee441abbd0b143f48edf4182e95b7c5d4c14ca9dcbf1fd8d4d46d58c78152fa49393bce7715e4fffb470d43ad61f5df18d37
@@ -31,7 +31,12 @@
31
31
  <ul class="nav navbar-nav navbar-right" id="navbar-buttons">
32
32
  {% for section in site.data.nav.pages %}
33
33
  {% if section.options %}
34
- <li class="dropdown">
34
+ <li class="dropdown"
35
+ {% for menu-item in section.options %}
36
+ {% if page.url == menu-item.url %}
37
+ class="active"
38
+ {% endif %}
39
+ {% endfor %}>
35
40
  <a href="" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">{{section.title}} <span class="caret"></span></a>
36
41
  <ul class="dropdown-menu">
37
42
  {% for menu_option in section.options %}
@@ -42,7 +47,10 @@
42
47
  </ul>
43
48
  </li>
44
49
  {% else %}
45
- <li><a href="{{section.url}}" title="{{section.title}}">{{section.title}}</a></li>
50
+ <li {% if section.url == page.url %}
51
+ class="active"
52
+ {% endif %}
53
+ ><a href="{{section.url}}" title="{{section.title}}">{{section.title}}</a></li>
46
54
  {% endif %}
47
55
  {% endfor %}
48
56
 
data/_sass/core/fa.scss CHANGED
@@ -4,12 +4,12 @@
4
4
  */
5
5
  @font-face {
6
6
  font-family: 'FontAwesome';
7
- src: url('./fonts/fontawesome-webfont.eot);
8
- src: url('./fonts/fontawesome-webfont.eot') format('embedded-opentype'),
9
- url('./fonts/fontawesome-webfont.woff2) format('woff2'),
10
- url('./fonts/fontawesome-webfont.woff) format('woff'),
11
- url('./fonts/fontawesome-webfont.ttf) format('truetype'),
12
- url('./fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
7
+ src: url('/assets/fonts/fontawesome-webfont.eot);
8
+ src: url('/assets/fonts/fontawesome-webfont.eot') format('embedded-opentype'),
9
+ url('/assets/fonts/fontawesome-webfont.woff2) format('woff2'),
10
+ url('/assets/fonts/fontawesome-webfont.woff) format('woff'),
11
+ url('/assets/fonts/fontawesome-webfont.ttf) format('truetype'),
12
+ url('/assets/fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
13
13
 
14
14
  font-weight: normal;
15
15
  font-style: normal;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linaro-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyle Kirkby