Sha256: 7ec3af1a3aabb8255c7cc26e11f3344680f72ea12a6bbb25036ba4fc92021105

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: 14 }}
      {% endif %}
    </h3>

  {%- endif -%}

{% endunless %}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
futuro-0.7.0 _includes/html/page/title.liquid
futuro-0.6.9 _includes/html/page/title.liquid
futuro-0.6.8 _includes/html/page/title.liquid
futuro-0.6.7 _includes/html/page/title.liquid