Permalink
Browse files

Fixed navigation bug

  • Loading branch information...
1 parent a9aac2d commit ee5152335468b37422c9926d2035ec99093f2896 @roryg committed Mar 18, 2015
Showing with 13 additions and 13 deletions.
  1. +10 −1 default.hbs
  2. +3 −12 partials/navigation.hbs
View
@@ -38,7 +38,16 @@
{{/if}}
</div>
- {{navigation}}
+ <ul class="site-nav">
+ <li class="site-nav-item"><a class="js-ajax-link" title="{{@blog.title}}" href="{{@blog.url}}">Latest Post</a></li>
+ <li class="site-nav-item"><a class="js-ajax-link js-show-index" title="{{@blog.title}}" href="{{@blog.url}}">Browse Posts</a></li>
+
+ {{navigation}}
+
+ {{#if @blog.logo}}
+ <li class="site-nav-item"><a href="{{@blog.url}}/rss">RSS</a></li>
+ {{/if}}
+ </ul>
</div>
</header>
@@ -1,12 +1,3 @@
-<ul class="site-nav">
- <li class="site-nav-item"><a class="js-ajax-link" title="{{@blog.title}}" href="{{@blog.url}}">Latest Post</a></li>
- <li class="site-nav-item"><a class="js-ajax-link js-show-index" title="{{@blog.title}}" href="{{@blog.url}}">Browse Posts</a></li>
-
- {{#foreach navigation}}
- <li class="site-nav-item"><a class="js-ajax-link" title="{{label}} | {{@blog.title}}" href="{{url absolute="true"}}">{{label}}</a></li>
- {{/foreach}}
-
- {{#if @blog.logo}}
- <li class="site-nav-item"><a href="{{@blog.url}}/rss">RSS</a></li>
- {{/if}}
-</ul>
+{{#foreach navigation}}
+ <li class="site-nav-item"><a class="js-ajax-link" title="{{label}} | {{@blog.title}}" href="{{url absolute="true"}}">{{label}}</a></li>
+{{/foreach}}

0 comments on commit ee51523

Please sign in to comment.