This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

added sidenav and changed subhead

  • Loading branch information...
V David Zvenyach
V David Zvenyach committed Oct 10, 2015
1 parent 0ed44e8 commit 73c88fd9b4c865bd826ac1dc989b38f7c7d7c031
Showing with 17 additions and 2 deletions.
  1. +0 −1 _includes/head.html
  2. +13 −0 _includes/sidenav.html
  3. +3 −0 _layouts/main.html
  4. +1 −1 index.md
@@ -56,5 +56,4 @@
<!-- CSS
================================================== -->
<link rel="stylesheet" href="{{ "/assets/css/google-fonts.css" | prepend: site.baseurl }}">
<link rel="stylesheet" href="{{ "/assets-styleguide/css/prism.css" | prepend: site.baseurl }}">
<link rel="stylesheet" href="{{ "/assets/css/styleguide.css" | prepend: site.baseurl }}">
@@ -0,0 +1,13 @@
{% assign current = page.url | downcase | split: '/' %}
<aside class="sidenav" id="menu-content">
<nav>
<ul class="usa-sidenav-list">
{% for recipe in site.data.recipes order:ascending%}
<li>
<a {% if current[2] == {{recipe.basename}}%}class="usa-current"{% endif %} href="{{site.baseurl}}/recipes/{{recipe.basename}}/">{{recipe.title}}</a>
</li>
{% endfor %}
</ul>
</nav>
</aside>
@@ -8,8 +8,11 @@
<body>
{% include navbar.html %}
{% include sidenav.html %}
<section id="main" class="main-content" role="main">
<div class="styleguide-content">
{{ content }}
</div>
</section>
</body>
@@ -23,7 +23,7 @@ layout: homepage
</nav>
<div class="usa-banner-content" id="main-content">
<h1>Digital Contracting Cookbook</h1>
<h2 class="usa-font-lead">Like Chef, but for Contracting...</h2>
<h2 class="usa-font-lead">Making Digital Service Acquisition Delectable</h2>
</div>
</div>
</section>

0 comments on commit 73c88fd

Please sign in to comment.