Permalink
Browse files

Added class current on Home page

  • Loading branch information...
1 parent 3001428 commit 60f2c3e354ed411b959d538a762ee3e825e5abd6 @joseihf joseihf committed with mitio Sep 11, 2015
Showing with 2 additions and 2 deletions.
  1. +2 −2 _includes/nav.ext
View
@@ -4,7 +4,7 @@
<!-- Primary Navigation -->
<!-- ============================================= -->
<ul>
- <li><a href="http://codeweek.eu/">Home</a></li>
+ <li {% if location == 'index.html' %}class="current" {% endif %}><a href="http://codeweek.eu/">Home</a></li>
<li><a href="http://events.codeweek.eu/">Events</a></li>
<li {% if location == 'ambassadors' %}class="current" {% endif %}><a href="http://events.codeweek.eu/ambassadors">Ambassadors</a></li>
<li {% if location == 'resources' %}class="current" {% endif %}><a href="/resources/">Resources</a></li>
@@ -22,4 +22,4 @@
</form>
</div><!-- #top-search end -->
-</nav><!-- #primary-menu end -->
+</nav><!-- #primary-menu end -->

0 comments on commit 60f2c3e

Please sign in to comment.