Sha256: dae7a71ef4f9595a31d644dee26bb70914dcc85bec600d18aeeb3d063b737fa7

Contents?: true

Size: 1.35 KB

Versions: 15

Compression:

Stored size: 1.35 KB

Contents

<ul{% if include.depth == 2 %} class="subnavcontent"{% endif %}{% if include.depth == 3 %} class="subsubnav"{% endif %}>
{%- for item in include.data -%}
  {%- if include.depth == 1 -%}
    {%- assign the_url = item.name | slugify | prepend: "/sitemap/#" -%}
  {%- else -%}
    {%- assign the_url = item.url -%}
  {%- endif -%}
  <li{% if item.cols %} class="has-submenu"{% endif %}>
    <a{% if include.id %} id="{{item.name | slugify}}"{% endif %} href="{{ the_url }}"><span>{{item.name}}{% comment %}{% if item.pages and include.depth > 1 %} {% include_cached icon.html name="chevron-right" %}{% endif %}{% endcomment %}</span></a>
    {%- if include.depth>1 -%}
      {%- if item.pages %}{% assign newdepth = include.depth | plus: "1"%}{% include navlist.html data=item.pages depth=newdepth %}{% endif -%}
    {%- endif -%}
  </li>
  {%- if include.depth==1 -%}
    <li role="presentation" class="subnav">
      {%- if item.cols -%}
        <div class="col1">
          {%- assign navdata = item.cols[0].pages -%}
          {%- include navlist.html data=navdata depth=2 -%}
          {%- assign navdata = item.cols[1].pages -%}
          {%- include navlist.html data=navdata depth=2 -%}
          {%- assign navdata = item.cols[2].pages -%}
          {%- include navlist.html data=navdata depth=2 -%}
        </div>
      {%- endif -%}
    </li>
  {%- endif -%}
{%- endfor -%}
</ul>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
wai-website-theme-1.9.2 _includes/sitemap.html
wai-website-theme-1.9.pre _includes/sitemap.html
wai-website-theme-1.7 _includes/sitemap.html
wai-website-theme-1.6 _includes/sitemap.html
wai-website-theme-1.5.6 _includes/sitemap.html
wai-website-theme-1.5.5 _includes/sitemap.html
wai-website-theme-1.5.2 _includes/sitemap.html
wai-website-theme-1.5.1 _includes/sitemap.html
wai-website-theme-1.5 _includes/sitemap.html
wai-website-theme-1.4.5 _includes/sitemap.html
wai-website-theme-1.4.1 _includes/sitemap.html
wai-website-theme-1.4 _includes/sitemap.html
wai-website-theme-1.3.1 _includes/sitemap.html
wai-website-theme-1.3 _includes/sitemap.html
wai-website-theme-1.2 _includes/sitemap.html