Sha256: f63dbed869b8ff9522975136800c3bc8c3d9c1a76be989c7d5dbf034ba4abd8f

Contents?: true

Size: 790 Bytes

Versions: 4

Compression:

Stored size: 790 Bytes

Contents

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

{% unless page.topic %}

  {%- if site.setup.style == "docs" -%}

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

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

      {% else %}

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

      {% endif %}

  {%- else -%}

    <h3 class="title {{ type }}">
      {% if page.type == "chapter" %}
        {{ cDivs }}
      {% else %}
        {{ page.title | truncate: 13 }}
      {% endif %}
    </h3>

  {%- endif -%}

{% endunless %}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
futuro-0.7.4 _includes/html/page/title.liquid
futuro-0.7.3 _includes/html/page/title.liquid
futuro-0.7.2 _includes/html/page/title.liquid
futuro-0.7.1 _includes/html/page/title.liquid