view _includes/header.html @ 28:1138390dfe96

add top level link to docs
author Alex Krolick <whokilledtheelectricmonk@gmail.com>
date Sun, 15 Nov 2015 22:25:11 -0800
parents bc698651c94a
children 171ca967fcc9 e8fc61e077fc
line wrap: on
line source

<div class="fixed contain-to-grid">
  <nav class="top-bar" data-topbar role="navigation">
    <ul class="title-area">
      <li class="name">
        <h1>
          <a href="{{ site.baseurl }}/" style="height:100%">
            <img src="{{ "/img/logo.png" | prepend: site.baseurl }}" style="width: 32px; height: auto"/>
            {{ site.title }}
          </a>
        </h1>
      </li>
      <!-- Remove the class "menu-icon" to get rid of menu icon. Take out "Menu" to just have icon alone -->
      <li class="toggle-topbar menu-icon"><a href="#"><span></span></a></li>
    </ul>
  
    <section class="top-bar-section">
      <!-- Right Nav Section -->
      <ul class="right">
        {% for page in site.pages %}
          {% if page.menu %}
            <li>
              <a href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a>
            </li>
          {% endif %}
        {% endfor %}
        <li>
          <a href="{{site.docs_url}}">Docs</a>  
        </li>
      </ul>
    </section>
  </nav>
</div>