Sha256: c7ea1c78c2338da991724cefc5033108eb058a2bf452ce534370c563ebe03bf7

Contents?: true

Size: 1.37 KB

Versions: 3

Compression:

Stored size: 1.37 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 -%}

        <div class="block page-split">

          {%- 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">Switch</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

3 entries across 3 versions & 1 rubygems

Version Path
futuro-0.7.2 _includes/html/page/layout/custom.liquid
futuro-0.7.1 _includes/html/page/layout/custom.liquid
futuro-0.7.0 _includes/html/page/layout/custom.liquid