-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add logo to nav, more color changes.
- Loading branch information
1 parent
f8ac82a
commit 1fd0c0a
Showing
8 changed files
with
75 additions
and
32 deletions.
There are no files selected for viewing
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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
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,17 +1,20 @@ | ||
{% macro nav(active) -%} | ||
<nav class="navigation"> | ||
<ul> | ||
<li class="{{ 'active' if active == 'runs' else '' }}"> | ||
<a href="/">Runs</a> | ||
{% if active == 'examine' %} » | ||
<span class="{{ 'active' if active == 'examine' else '' }}">Examine</span> | ||
{% elif active == 'comments' %} » | ||
<span class="{{ 'active' if active == 'comments' else '' }}">Comments</span> | ||
{% endif %} | ||
</li> | ||
<li class="{{ 'active' if active == 'about' else '' }}"> | ||
<a href="/about">About</a> | ||
</li> | ||
</ul> | ||
<div class="container"> | ||
<a class="header-logo" href="/">Home</a> | ||
<ul> | ||
<li class="{{ 'active' if active == 'runs' else '' }}"> | ||
<a href="/">Runs</a> | ||
{% if active == 'examine' %} » | ||
<span class="{{ 'active' if active == 'examine' else '' }}">Examine</span> | ||
{% elif active == 'comments' %} » | ||
<span class="{{ 'active' if active == 'comments' else '' }}">Comments</span> | ||
{% endif %} | ||
</li> | ||
<li class="{{ 'active' if active == 'about' else '' }}"> | ||
<a href="/about">About</a> | ||
</li> | ||
</ul> | ||
</div> | ||
</nav> | ||
{%- endmacro %} |