Sha256: d467335db9ec88cd6726eeaba5b4c9f06a22ebe14661b7b6b2dd7ba75429a417

Contents?: true

Size: 1.63 KB

Versions: 32

Compression:

Stored size: 1.63 KB

Contents

---
layout: default
---

{% capture components %}
  {% for component in site.data.components %}
    {% assign component_include = "theme/" | append: component | append: ".html" %}
    {% assign title = component | replace: "_", " " | capitalize %}

    <section id="{{ component | replace: "_", "-" }}" class="mb-5">
      <header>
        {% include headings/with_link.html level=1 text=title %}
      </header>

      {% include {{ component_include }} %}
    </section>
  {% endfor %}
{% endcapture %}

{% capture full_width_components %}
  {% for component in site.data.full_width_components %}
    {% assign component_include = "theme/" | append: component | append: ".html" %}
    {% assign title = component | replace: "_", " " | capitalize %}

    <section id="{{ component | replace: "_", "-" }}" class="mb-5">
      <header>
        {% include headings/with_link.html level=1 text=title %}
      </header>

      {% include {{ component_include }} %}
    </section>
  {% endfor %}
{% endcapture %}

<div class="container-fluid">
  <div class="row">
    <aside class="col-12 col-md-3">
      <ol class="list-unstyled">
        {%- assign toc_full_width = full_width_components | table_of_contents: 1 -%}
        {%- assign toc = components | table_of_contents: 1 | concat: toc_full_width -%}

        {% for item in toc %}
          <li>
            <a href="#{{ item.id }}" data-turbo="false">
              {{- item.title -}}
            </a>
          </li>
        {% endfor %}
      </ol>
    </aside>

    <section class="col-12 col-md">
      {{ components }}
    </section>
  </div>
</div>

<section class="w-100">
  {{ full_width_components }}
</section>

Version data entries

32 entries across 32 versions & 2 rubygems

Version Path
compost-jekyll-theme-0.3.8 _layouts/theme.html
compost-jekyll-theme-0.3.7 _layouts/theme.html
compost-jekyll-theme-0.3.6 _layouts/theme.html
compost-jekyll-theme-0.3.5 _layouts/theme.html
radios-comunitarias-jekyll-theme-0.3.0rc1 _layouts/theme.html
compost-jekyll-theme-0.3.4 _layouts/theme.html
compost-jekyll-theme-0.3.3 _layouts/theme.html
compost-jekyll-theme-0.3.2 _layouts/theme.html
compost-jekyll-theme-0.3.1 _layouts/theme.html
compost-jekyll-theme-0.3.0 _layouts/theme.html
compost-jekyll-theme-0.2.3 _layouts/theme.html
compost-jekyll-theme-0.2.2 _layouts/theme.html
compost-jekyll-theme-0.2.1 _layouts/theme.html
compost-jekyll-theme-0.1.18 _layouts/theme.html
compost-jekyll-theme-0.1.17 _layouts/theme.html
compost-jekyll-theme-0.1.16 _layouts/theme.html
compost-jekyll-theme-0.1.15 _layouts/theme.html
compost-jekyll-theme-0.1.14 _layouts/theme.html
compost-jekyll-theme-0.1.13 _layouts/theme.html
compost-jekyll-theme-0.1.12 _layouts/theme.html