Sha256: ebb306479a7c6c220ae331745308fdcf5b530e76972d039d99f665a71e6a935d

Contents?: true

Size: 932 Bytes

Versions: 4

Compression:

Stored size: 932 Bytes

Contents

{% assign page_paths = site.header_pages %}

<header role="banner">
  <div class="title-bar" data-responsive-toggle="responsive-menu" data-hide-for="medium">
    <button class="menu-icon" type="button" data-toggle="responsive-menu"></button>
    <div class="title-bar-title">Menu</div>
  </div>


  <div class="top-bar" id="responsive-menu">
    <div class="top-bar-left">
      <ul class="menu">
        <li class="menu-text"><a href="/">{{ site.title | escape }}</a></li>
      </ul>
    </div>
    {% if page_paths %}
      <div class="top-bar-right">
        <ul class="menu">
          {% for path in page_paths %}
            {% assign my_page = site.pages | where: "path", path | first %}
            {% if my_page.title %}
              <a href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a>
            {% endif %}
          {% endfor %}
        </ul>
      </div>
    {% endif %}
  </div>


</header>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jekyll-theme-foundation-0.2.3 _includes/header.html
jekyll-theme-foundation-0.2.2 _includes/header.html
jekyll-theme-foundation-0.2.1 _includes/header.html
jekyll-theme-foundation-0.2.0 _includes/header.html