Sha256: 83a6bcf438112dce7278fb4d14b65f6a8e3d53af59cb1690e58e04f69edad537

Contents?: true

Size: 702 Bytes

Versions: 26

Compression:

Stored size: 702 Bytes

Contents

      <header role="banner">
        <h1>
          <a href="{{ "/" | relative_url }}">{{ site.title | escape }}</a>
        </h1>
        {%- assign default_paths = site.pages | map: "path" -%}
        {%- assign page_paths = site.header_pages | default: default_paths -%}
        {%- if page_paths %}
        <nav>
          <ul>
          {%- 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>
        </nav>
        {%- endif %}
      </header>

Version data entries

26 entries across 26 versions & 3 rubygems

Version Path
cyclist-0.7.3 _includes/header.html
cyclist-0.6.0 _includes/header.html
cyclist-0.5.0 _includes/header.html
cyclist-0.4.0 _includes/header.html
cyclist-0.3.0 _includes/header.html
cyclist-0.2.0 _includes/header.html