-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Oscar Morrison
committed
May 18, 2016
1 parent
ccd1706
commit 53bcd80
Showing
4 changed files
with
87 additions
and
196 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
$('.masthead').mouseenter(function(){ | ||
$('.nav').slideToggle(); | ||
}).mouseleave(function(){ | ||
$('.nav').slideToggle(); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
<nav class="nav container"> | ||
{{! The code below dynamically generates a sidebar nav of posts tagged as static pages. }} | ||
<nav class="nav container"> | ||
<a class="nav-item sidebar-nav-home {{#if current}}active{{/if}}" href="/"> | ||
<i class="nav-icon icon-home"></i> | ||
</a> | ||
{{#foreach navigation}} | ||
<a class="nav-item sidebar-nav-{{slug}} {{#if current}}active{{/if}}" href="{{url absolute="true"}}" target="_blank"> | ||
<i class="nav-icon icon-{{slug}}"></i> | ||
</a> | ||
<a class="nav-item sidebar-nav-{{slug}} {{#if current}}active{{/if}}" href="{{url absolute="true"}}" target="_blank"> | ||
<i class="nav-icon icon-{{slug}}"></i> | ||
</a> | ||
{{/foreach}} | ||
</nav> | ||
</nav> |