Sha256: 3cf6fe159ba13d17f41a7ca8401965e537b6848ee6188a8c731a46b2d23a573f

Contents?: true

Size: 851 Bytes

Versions: 5

Compression:

Stored size: 851 Bytes

Contents

{% assign type    = page.type | prepend: '_' | append: '-title' %}
{% assign setup   = site.setup.type | prepend: '--' %}
{% assign chapter = page.chapter | prepend: '<div>' | append: '</div>' %}
{% assign cDivs   = chapter | split: ' ' | join: '</div><div>' %}

{% unless page.topic %}

  {%- if site.setup.type == 'docs' -%}

      {% if page.type == 'chapter' %}

      <h5 class="title {{ type }} {{ setup }}">
        {{ cDivs }}
      </h5>

      {% else %}

      <h5 class="title {{ type }} {{ setup }}">
        {{ page.title }}
      </h5>

      <div class="block _expand-block">
        Show
      </div>

      {% endif %}

  {%- else -%}

    <h3 class="title {{ type }}">
      {% if page.type == 'chapter' %}
        {{ cDivs }}
      {% else %}
        {{ page.title }}
      {% endif %}
    </h3>

  {%- endif -%}

{% endunless %}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
futuro-0.4.6 _includes/html/page/title.liquid
futuro-0.4.5 _includes/html/page/title.liquid
futuro-0.4.4 _includes/html/page/title.liquid
futuro-0.4.3 _includes/html/page/title.liquid
futuro-0.4.2 _includes/html/page/title.liquid