Sha256: 961639fe355d43e68c4627068e2d9d75b60bd7a9be4b2fb99b9664d4734e0654

Contents?: true

Size: 1.58 KB

Versions: 2

Compression:

Stored size: 1.58 KB

Contents

{% include html/page/header.liquid  %}

    <div class="{{ page.type | prepend: 'split-' }} left">

      {% include html/page/title.liquid  %}

      {% include html/page/subtitle.liquid  %}

      {%- if page.text -%}

      {% assign count = 0 %}

      {%- for item in page.text -%}
        {% assign count = count | plus : 1 %}
      {%- endfor -%}

      <div class="block page-split page-split-{{ count }} {% unless page.subtitle %}no-subtitle{% endunless %}">

          {%- for item in page.text -%}

          <div>

            {%- if item.column -%}

            <div>
              {{ item.column }}
            </div>

            {%- elsif item.switch -%}

            {%- for item in item.switch -%}

              {%- if item.before -%}

                <div class="before">
                  {{ item.before }}
                </div>

              {%- elsif item.after -%}

                <div class="after">
                  {{ item.after }}
                </div>

              {%- elsif item.button -%}

                <div class="button-wrap switch-button {{ page.chapter | downcase }}">
                  <button type="button">Next</button>
                  <span class="button-bg"></span>
                </div>

              {%- endif -%}

            {%- endfor -%}

            {%- endif -%}

          </div>

          {%- endfor -%}

        </div>

      {%- else -%}

        {{ page.content | markdownify }}

      {%- endif -%}

    </div>

    <div class="{{ page.type | prepend: 'split-' }} right">

      {% include html/page/info.liquid  %}

    </div>
  </div>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
futuro-0.7.4 _includes/html/page/layout/custom.liquid
futuro-0.7.3 _includes/html/page/layout/custom.liquid