fix issue #95 (nav tag) + temporary use the dev version of the mounter
did
committed Jul 20, 2013
commit a4a0c4e1d559d6372c6e4552a7041a0799edfda3
Showing 2
changed files with
2 additions
and 2 deletions
Gemfile
+1
-1
| @@ | @@ -4,6 +4,6 @@ source 'https://rubygems.org' |
| gemspec | |
| # Development | |
| - | # gem 'locomotivecms_mounter', path: '../gems/mounter', require: false |
| + | gem 'locomotivecms_mounter', path: '../gems/mounter', require: false |
| gem 'rb-fsevent', '~> 0.9.1' | |
| \ No newline at end of file | |
locomotive/wagon/liquid/tags/nav.rb b/lib/locomotive/wagon/liquid/tags/nav.rb
+1
-1
| @@ | @@ -165,7 +165,7 @@ module Locomotive |
| # | |
| def entry_css(page, css = '') | |
| _css = 'link' | |
| - | _css = "#{page}#{@options[:active_class]}" if self.page_selected?(page) |
| + | _css += " #{page} #{@options[:active_class]}" if self.page_selected?(page) |
| (_css + " #{css}").strip | |
| end | |