Sha256: 31ba4e26c8eaf3aa2b2b8d439346edd9d174abd111497f873f126751e9aeeeef

Contents?: true

Size: 1.1 KB

Versions: 9

Compression:

Stored size: 1.1 KB

Contents

{%- assign sidebar = site.data.sidebars[include.sidebar]['subitems'] -%}
{%- for sections in sidebar %}
{%- assign section = sections.title | downcase | replace: " ", "_" %}
{%- assign section_pages = site.pages | where:"type", section %}
{%- unless section_pages.size == 0 %}
<h2>{{sections.title}}</h2>
<div class="table-responsive">
    <table class="table ">
        <thead>
            <tr>
                <th>title</th>
                <th>page_id</th>
                <th>description</th>
            </tr>
        </thead>
        <tbody>
            {%- for section_page in section_pages %}
            {%- if section_page.page_id and section_page.search_exclude != true %}
            <tr>
                <td><a href="{{ section_page.url | relative_url }}">{{section_page.title}}</a></td>
                <td>{{section_page.page_id}}</td>
                {%- if section_page.description %}
                <td>{{section_page.description}}</td>
                {%- endif %}
            </tr>
            {%- endif %}
            {%- endfor %}
        </tbody>
    </table>
</div>
{%- endunless %}
{%- endfor %}

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
elixir-toolkit-theme-1.7.2 _includes/pageids-overview.html
elixir-toolkit-theme-1.7.1 _includes/pageids-overview.html
elixir-toolkit-theme-1.7.0 _includes/pageids-overview.html
elixir-toolkit-theme-1.6.1 _includes/pageids-overview.html
elixir-toolkit-theme-1.6.0 _includes/pageids-overview.html
elixir-toolkit-theme-1.5.3 _includes/pageids-overview.html
elixir-toolkit-theme-1.5.2 _includes/pageids-overview.html
elixir-toolkit-theme-1.5.1 _includes/pageids-overview.html
elixir-toolkit-theme-1.5.0 _includes/pageids-overview.html