Sha256: 50a9f0a2107413b597e413d0de89a56e063da9c3636c5707b9c7a47eb05e7af1

Contents?: true

Size: 903 Bytes

Versions: 1

Compression:

Stored size: 903 Bytes

Contents

<nav>
  <div class="nav-wrapper">
    {%- assign default_paths = site.pages | map: "path" -%}
    {%- assign page_paths = site.header_pages | default: default_paths -%}
    {%- assign titles_size = site.pages | map: 'title' | join: '' | size -%}
    <a href="{{ "/" | relative_url}}" class="brand-logo">{{ site.title | escape}}</a>

    {%- if titles_size > 0 -%}
    <ul id="nav-mobile" class="right hide-on-med-and-down">
      {%- 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 -%}
      <li><a href="sass.html">Sass</a></li>
      <li><a href="badges.html">Components</a></li>
      <li><a href="collapsible.html">JavaScript</a></li>
    </ul>
    {%- endif -%}
  </div>
</nav>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
j-materialize-0.3.0 _includes/header.html