Sha256: bce5ff18e667f2da58dc4876f01321372b2935c1030b87152f8365f8a95b9699

Contents?: true

Size: 516 Bytes

Versions: 2

Compression:

Stored size: 516 Bytes

Contents

{%- assign page_paths = site.header_pages | default: default_paths -%}
<header>
  <h1><a href="{{ "/" | relative_url }}">{{ site.title | escape }}</a></h1>
  <div class="menu">
    <ul class="unstyled-list">
      {%- for path in page_paths -%}
        {%- assign my_page = site.pages | where: "path", path | first -%}
        {%- if my_page.title -%}
        <li><a href="{{ my_page.url | relative_url }}">{{ my_page.title | escape }}</a></li>
        {%- endif -%}
      {%- endfor -%}
    </ul>
  </div>
</header>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
consolo-0.1.1 _includes/header.html
consolo-0.1.0 _includes/header.html